On Tue, Oct 12, 2010 at 11:44 PM, Rony <[email protected]> wrote:
> On Tuesday 12 October 2010 10:07 AM, Dattatray Kamble wrote: > > > > 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. > > > > > > > > So your vsftpd is running inside the same box as your proxy. Is that > right? How do you forward packets from one input interface to the other > outgoing interface and try to get them back in from the outgoing > interface? Should the output interface be bridged to a virtual interface > that is bound to vsftpd? This is a tricky situation. > > -- > > 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. > > -- > http://mm.glug-bom.org/mailman/listinfo/linuxers > Hi, I have public ip's range 118.y.y.1 - 118.y.y.5 Squid is running on 118.y.y.1 ( eth1 ) & 192.x.x.1 ( eth0 ) My vsftpd is running on 192.y.y.5 in internal lan. Now i want to use one of my public ip 118.y.y.2, for accessing vsftpd from outside. -- http://mm.glug-bom.org/mailman/listinfo/linuxers

