On Mon, Oct 11, 2010 at 9:07 PM, Rony gnulinuxist@gmail.com wrote:
On Monday 11 October 2010 05:28 PM, Dattatray Kamble wrote:
Hi,
It's the Public IP pool provided from ISP. The IP's not configured anywhere in the network.
Hi. Now as JTD mentioned, you will have to have some device to which your proposed IP is bound to. If your ISP is giving you a LAN cable only then you will need a computer with 2 ethernet cards. One card connects to the ISP and it is assigned the public IP as per directions from your ISP. The other card connects to your LAN so it has the LAN subnet. Assuming that you have an ftp server in your LAN, your dual card computer will have to be configured as a router and have port forwarding for ftp, pointing to the LAN ip of your ftp server.
In the connection diagram below, the device in [ ] is your dual card pc used as a router.
Internet --> [ Card_Public IP <--> Routing and Port Forwarding Rules <--> Card_LAN IP ] --> LAN Hub/Switch --> LAN FTP Server
Once the dual card computer is properly configured with iptables for routing and port forwarding, anyone from the internet can now reach your internal ftp server via the routing box.
--
As a proper list etiquette... Please trim your replies. Post your replies below the relevant original text, leaving a line space. Do not re-use old messages to write new ones.
Regards,
Rony.
Hi,
Yes..i have eth1 configuration for public acces And eth0 for private access ..it is true.. I natted & masqueraded eth0 with eth1 connections And did transparent proxy configuration on that system. Now here is the condition....
If any request coming towards 118.y.y.y with port XXXX should forwarded to 192.x.x.x with port XXXX.
I want to assign above rule through iptables. But i don't want to configure the public ip for vsftpd anywhere.
Thanks.