Routing through Debian

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

 



Hello my name is Carlos
This is the first time I'm emailing here and I don't know really how this
works, I'm just going nuts with the next issue:
I'm trying to connect from my XP office computer to my Home (XP prof)
computer (192.168.0.4).
In my home I have a small network made out of 5 computers, they all  connect
to internet through a Debian 2.4 box(private 192.168.0.5, public:
80.1.122.39) that I've configured to work as a router-firewall.
I modified ip-tables so to let any connection coming to the router to port
3389 to redirect it to 192.168.0.4:
iptables -t nat -I POSTROUTING -p tcp --sport 3389 -s 192.168.0.4 -j SNAT
--to 80.1.122.39:3389
iptables -t nat -I PREROUTING -p tcp --dport 3389 -d 80.1.122.39 -j DNAT
--to 192.168.0.4:3389
Commands go well, no problems.
But still I can't connect, is there something that I'm missing?

Thanks very much

Carlos Robles 
mailto txarli11@xxxxxxxxxxx



[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