Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IP Routing
Message
General information
Forum:
Linux
Category:
Internet Connection issues
Title:
Miscellaneous
Thread ID:
00407134
Message ID:
00474728
Views:
18
Hello,
I finally got around to try this last night. I got it to work except for one thing. When someone ftp's into my windows box threw the linux gateway they cant do an ls command. They don't see whats in the directory. Do you know how to fix this?
Thanks
--MIke

++++First Reply++++
Mike,

This can be accomplished using ipmasqadm with port forwarding enabled in your kernel. If both are installed, then you can use the following examples.

I'm going to use a public ip address of 209.19.19.2 as an example. Just fill in the public ip address of your linux box in it's place when you do this on your network.

example 1 (with no ftp daemon running on gateway box)

ipmasqadm -a -P tcp -L 209.19.19.2 21 -R 192.168.1.2 21

example 2 (ftp daemon also running on gateway box, so we redirect port 4040 to the ftp services on the winbox

ipmasqadm -a -P tcp -L 209.19.19.2 4040 -R 192.168.1.2 21
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform