Thank u so much

On Sun, Jun 5, 2011 at 10:41 PM, Manish Kathuria <
[email protected]> wrote:

> On Sun, Jun 5, 2011 at 3:41 PM, Mr. Jamal <[email protected]> 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
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/india
>
_______________________________________________
india mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/india

Reply via email to