|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help with iptables
photo network
i was wondering if someone can help me with iptables for the router photo attached On Router: 1.i need to ssh from blue to red: my answer: iptables -A INPUT -s 10.2.0.0 -p tcp --dport 22 -j accept iptables -A output -s 10.2.0.0 -p tcp --sport 22 -j accept 2.i need to http from blue to red (required for patching)? 3. i need to Allow pings both ways my answer" iptables -A input -p icmp --icmp-type 8 -m state --stae new,established -j accept iptables -A input -p icmp --icmp-type 0 -m state --stae new,established -j accept iptables -A output -p icmp --icmp-type 8 -m state --stae new,established -j accept iptables -A output -p icmp --icmp-type 0 -m state --stae new,established -j accept 4.then Allow nothing else my answer: iptables -A INPUT -j DROP 5.ssh must only listen on blue network interface (in: /etc/ssh/sshd_config)? Last edited by beerpong1; 03-12-2013 at 10:00 PM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Which host(s) gets iptables?
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with iptables | samnyc | UNIX for Dummies Questions & Answers | 2 | 01-14-2013 04:04 PM |
| help with iptables | samnyc | UNIX for Dummies Questions & Answers | 5 | 10-12-2011 12:36 PM |
| iptables changes | rina5392 | IP Networking | 0 | 01-07-2010 07:49 PM |
| Iptables | proactiveaditya | IP Networking | 1 | 10-02-2009 02:02 AM |
| IPtables | Jody | UNIX for Dummies Questions & Answers | 3 | 05-31-2003 08:08 PM |
|
|