iptables

Kevin Cozens kcozens-qazKcTl6WRFWk0Htik3J/w at public.gmane.org
Sat Nov 8 19:03:08 UTC 2003


At 01:27 PM 11/08/2003 -0500, gbell72 wrote:
>Bad argument `eth1'
[snip]
>iptables -A FORWARD -i eth1 -o eth0 -p tcp --dport 8888 -m state --state
>NEW,ESTABLISHED,RELATED -j ACCEPT
>
>iptables -A PREROUTING -t nat -p tcp eth1 --dport 8888 -j DNAT --to-dest
>192.168.0.66:8888

Should that second line have '-i' before eth1?


Cheers!

Kevin.  (http://www.interlog.com/~kcozens/)

Owner of Elecraft K2 #2172        |"What are we going to do today, Borg?"
E-mail:kcozens at interlog dot com|"Same thing we always do, Pinkutus:
Packet:ve3syb at ve3yra.#con.on.ca.na|  Try to assimilate the world!"
#include <disclaimer/favourite>   |              -Pinkutus & the Borg

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list