On Mon, Oct 11, 2010 at 11:02 AM, Dattatray Kamble meet2dsk@gmail.com wrote: ... snip ...
I have few public IP's ..I don't have modem...My proxy configured as transparent with two ethernet cards. If i apply DNAT rule then i can access the vsftpd system locally with public ip.but i can't access the system on lan..
The rule applied as follows --
#iptables -t nat -A PREROUTING -d 118.x.x.x -j DNAT --to 192.y.y.y
this 118.x.x.x is no where assigned in the network so where should i apply port forwarding if no ethernet card available for that ip.
Please see [1]. Your ISP must have installed some kind of box on your premise that converts the media from cable/ DSL / leased line / to Ethernet frames to connect to your LAN. You need to read the docs on that device and/or talk to the support guys @ your ISP. Your 118.x.x.x is most likely assigned to that box.
i am struggling on this issue since 5 days.
[1] I would strongly advice you to learn the basics of network topology in a visual form. IMO, w/o a visual topology it is difficult to explain how your network is setup and w/o that info it is next to impossible for anyone to help you. You may continue to struggle for many more days if you are unwilling to take this step.
-- Arun Khan