Accessing problems from the inside network

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

 



Hi people,

I've a ppp0 device wich receives connections to 4 staric ips:

1) 123.123.123.101
2) 123.123.123.102
3) 123.123.123.103
4) 123.123.123.104

Now, I've this rule:

iptables -t nat -A PREROUTING -i ppp0 -d 123.123.123.101 -j DNAT --to
192.168.1.10

which redirects all the traffic from the 123.123.123.101 IP to the internal
192.168.1.10 ip.

I've masquerade activated and I thought everything was doing fine... I can
access my internal machine from outside and today, I've found i've a problem.

When I'm on the 192.168.1.10 machine and I try, let's say, a 'ssh
123.123.123.101' I can't access it. I mean, I can access ouside machines, I can
access my internal machine from the outside but from my internal network I
can't access my own machine if I refer to it using it public IP.

Any suggestion?

Thanks in advance.

=====
Miguel Manso
mmanso@xxxxxxxxx

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


[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