iptables

gbell72 gbell72-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sat Nov 8 19:15:02 UTC 2003


Umm yes the -i was needed..and it works for everyone on my internal lan. I
just need to figure out how to let the person thats on the outside in.

On Sat, 8 Nov 2003, Kevin Cozens wrote:

> 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
>
--
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