Results 1 to 2 of 2
hi,
here's my configuration
internet->router1->linuxbox->router2->pc
how would I go about setting up iptables?
tried different things but no avail.
e.g.
Code:
/sbin/iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-19-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 1
iptables in a difficult configuration
hi,
here's my configuration
internet->router1->linuxbox->router2->pc
how would I go about setting up iptables?
tried different things but no avail.
e.g.
still no internet on the pc, even though i can ping router2 on the linuxbox.Code:/sbin/iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE /sbin/iptables -A FORWARD -i ath0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT /sbin/iptables -A FORWARD -i eth0 -o ath0 -j ACCEPT where ath0 is between router1 and linuxbox and eth0 is between linuxbox and router2
any help?
thanks in advance
- 02-27-2011 #2Just Joined!
- Join Date
- Feb 2011
- Location
- Zagreb
- Posts
- 10


Reply With Quote

