Hi,
I have changed my firewall checkpoint to IPTABLES
but i have some sort of problems..
I have an ADSL router.. My network is like
below
TELECOM -- ( 212.174.55.172 )
ADSL_ROUTER ( 10.0.0.2 ) -- (10.0.0.15 ) GATEWAY ( 192.168.0.6 ) -- SWITCH
- (192.168.0.0/24) LAN
I have a
cvs server at 192.168.0.222
https server at 192.168.0.111
I can succesfully connect to my LAN from outside
for instance at home when i type https://212.174.55.172 it
works... and i can also use cvs from home.. The line for this in
my script is;
iptables -A PREROUTING -t nat -p tcp
-d 10.0.0.15 --dport 443 -j DNAT --to 192.168.0.222:443
iptables -A PREROUTING -t nat -p tcp
-d 10.0.0.15 --dport 2401 -j DNAT --to
192.168.0.222:2401 I can not connect to my LAN using my real ip (
212.174.55.172 ) when i am in my LAN.
I want when i type in my explorer https://212.174.55.172 i can see the
site.. I dont want to type the https servers LAN IP
when i am in MY LAN..
what should i do to see the https site when I
use my real ip ( 212.174.55.172 ) in my LAN...
Thank you all for any help...
|