On Monday 11 October 2010 11:56:37 Arun Khan wrote:

> >      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.

An ip is assigned (finally) to a physical device with a mac. You may 
configure virtual devices with an IP. But they must finally be tied 
to a physical device with a mac. 

> Please see [1].   Your ISP must have installed some kind of 

He could be the ISP.

> 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. 

Foe whatever he is trying to do, he needs to know a lot more than the 
basics, else he will be owned.



-- 
Rgds
JTD
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to