/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


Hi all!

I have a problem with my ip-masqueraded LAN. A linux router (kernel 2.2.11) 
is used for NAT and masquerading because I only get one IP address.

Now the problem:
On one PC in my LAN a special TCP/IP-Client is running which is using UDP 
ports for sending at 57881 and receiving 58313 and TCP ports 1621-1623.

The server for the client program with the IP-Number 111.222.333.444 waits 
to receive unmasqueraded packets and then sends the UPD packets at the 
specific port.

What I have to do is to route the UDP port numbers 58313 & 57881 and TCP 
Ports 1621-1623 directly from the one PC to the 111.222.333.444 server over 
my linux router.

I tried ipmasqadm without success.

If my configuration is as following:

linux router (ippp0) : 192.168.0.90 (Inet, dynamically assigned IP)
linux router (eth0):   192.168.1.10 (LAN)
No firewall rules are enabled, only masquerading and network address 
translation.

PC: 192.168.1.11
external Inet server 111.222.333.444

how can I redirect the above ports through my linux router so that the 
machine 111.222.333.444 gets no masqueraded packets and the packets are 
correct forwarded?

After starting the client program on the PC,
ipchains -L -M shows the masqueraded packets (but there is no response from 
the server 111.222.333.444).
(clyde.berlin.de = 192.168.1.11, gw1.ibllc.com = 111.222.333.444)

TCP  00:41.82 clyde.berlin.de      gw1.ibllc.com        1623 (61396) -> 
1997
TCP  01:41.63 clyde.berlin.de      gw1.ibllc.com        1622 (61395) -> 
1997
TCP  01:41.09 clyde.berlin.de      gw1.ibllc.com        1621 (61394) -> 
1997
UDP  04:53.05 clyde.berlin.de      gw1.ibllc.com        58313 (61398) -> 
57881 6
TCP  00:41.82 clyde.berlin.de      gw1.ibllc.com        1623 (61396) -> 
1997
TCP  01:41.63 clyde.berlin.de      gw1.ibllc.com        1622 (61395) -> 
1997
TCP  01:41.09 clyde.berlin.de      gw1.ibllc.com        1621 (61394) -> 
1997
UDP  04:53.05 clyde.berlin.de      gw1.ibllc.com        58313 (61398) -> 
57881 T


Please help me. I'm searching for a solution for above 3 weeks without 
success!
Thank you very much,
Carsten
-----------------------------------------------------------------------
Carsten Wolters
e-mail: [EMAIL PROTECTED]
ICQ: 4178665

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to