Configuration question...

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

 



This is the situation:

I hace a linux machine, giving internet access to a win98 machine. The win98 machine has a soft wich does not accept NAT, so the soft does not work when has to connect to internet.
Linux: eth0 (wich is conected to the adsl modem > ppp0 ) 192.168.1.10
eth1 (interface conected to the LAN, IP 192.168.2.1)


Win98: IP 192.168.2.5

What I need to do is: make the win98 software believe that it is connecting to a server service in the linux machine to port 10329, and that traffic has to be redirected to an external Ip in internet (the real server with the service in port 10329). And the, the traffic comeing fron that server has to be redirected to the win98 machine but with the source IP changed to 192.168.2.1 (the internal IP of the linux)

Can tell me the comands to configure the linux and iptables to do this?
Thanks



[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