Skip to contentSkip to conversation

Confused about NAT and forwarding

DISCUSSION Kirk 1 participant 1 message Feb 22, 2005

lore
Share & tools
lore

Kirk

author
#0 lore raw

Thanks for such quick replies!

Quoted 6 lines
Quoted 6 lines

PRIV_PROXY_IP=192.168.0.2
PUB_PROXY_IP=a.b.c.d
IPT=iptables

$IPT -t nat -I POSTROUTING -s $PRIV_PROXY_IP -o eth0 -j SNAT --to $PUB_PROXY_IP

I just tried this solution but now the proxy can't access the DNS servers. I think I know what the problem is.

I'll try both suggestions tomorrow morning. Right now I have a bunch
of angry people calling my office because they can't connect to the proxy server :)

Later.