How to contact NAT ip address from NAT box?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm setting up an SSL proxy that proxies to an ip that I'm controlling
with LVS .. So I need to be able to contact my outside IP address
from inside..  How would I go about this? I've tried doing something like

# iptables -t nat -A POSTROUTING -d 216.38.142.76 -s 192.168.1.0/24 \
               -p tcp --dport 80 -j SNAT --to 192.168.1.20

 but that doesn't work.. Any thoughts?

-- 
---------------------------
Michael T. Halligan
Chief Geek
Halligan Infrastructure Designs.
2250 Jerrold Ave #11
San Francisco, CA 94124
(415) 824.4453




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux