IPTABLES MASQUERADE - WAN is OK but no LAN traffic...
- From: wisptech@xxxxxxxxx
- Date: 28 Aug 2006 23:26:11 -0700
Here is the masquerade section of rules that I have set up...
iptables -t nat -A POSTROUTING -s 172.19.0.0/24 -j SNAT --to
66.119.9.186
iptables -A FORWARD -t filter -m state --state NEW,ESTABLISHED,RELATED
-j ACCEP
iptables -A FORWARD -t filter -m state --state ESTABLISHED,RELATED -j
ACCEPT
1. If I set an IP on the 66.119.9.0/24 network, Everything is OK.
2. When I set up IP: 172.19.0.2 SM: 255.255.255.0 GW:172.19.0.1 I can
get traffic out of the network just fine but can no longer access the
66.119.9.0/24 network.
3. I can ping google via it's IP and Yahoo via the IP but not my
servers on the 66.119.9.0/24.
4. I had to use a DNS server that was outside of my network in order to
resolve domains as my DNS is on the 66.119.9.0/24 network.
Can someone tell me what the heck I'm doing wrong?
.
- Follow-Ups:
- Prev by Date: Re: knoppix immediatly configed this usb ethernet nic and I got online.
- Next by Date: Re: configure eth1
- Previous by thread: knoppix immediatly configed this usb ethernet nic and I got online.
- Next by thread: Re: IPTABLES MASQUERADE - WAN is OK but no LAN traffic...
- Index(es):
Relevant Pages
|