[fedora-india] Some query....

Mr. Jamal jnizam67 at gmail.com
Sun Jun 5 16:53:15 UTC 2011


Thank u so much


On Sun, Jun 5, 2011 at 10:41 PM, Manish Kathuria <
mkathuria at tuxtechnologies.co.in> wrote:

> On Sun, Jun 5, 2011 at 3:41 PM, Mr. Jamal <jnizam67 at gmail.com> wrote:
> > D/r all
> > Pls ans me some query
> > 1. Why used this folder /etc/rc.d/rc.local in proxy server(fedora)?
> > 2. What does it mean that iptables -F, iptables -t nat -F, iptables -t
> nat
> > -A POSTROUTING -o eth0 -j MASQUERADE, -t nat -A PREROUTING -i eth1 -p tcp
> > --dport 80 -j REDIRECT --to-port 3128
> > Thanks
> >
>
> 1. First of all, rc.local is a file and not a folder. In this file you
> can add commands, scripts to be run after the boot process is over and
> all the system services have been started (but before the login prompt
> appears).
>
> 2. These commands mean the following:
>
> a. Flush (or delete) the existing iptables rules in the filter table
> b. Flush (or delete) the existing iptables rules in the nat table
> c. Change the source IP address of the forwarded packets going out
> from the eth0 network interface to the IP address of interface.
> d. Redirect the packets (meant to be forwarded) entering from the
> network interface eth1, destined for port 80 to port 3128 on the same
> system.
>
> You should be able to set up routing for a transparent proxy using
> these commands / rules.
>
> HTH,
> --
> Manish Kathuria
> Tux Technologies
> http://www.tuxtechnologies.co.in/
> _______________________________________________
> india mailing list
> india at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/india
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/india/attachments/20110605/270da34b/attachment.html 


More information about the india mailing list