William Bohannan wrote:
Thanks for the quick response Jasbir. Tried doing as you said with no
luck, changed dport to port 8080 on the 4th line (see below). Same as
before if you remove line 1 the transparent proxy works.
iptables -P INPUT DROP
ebtables -t broute -A BROUTING -p IPv4
Hi iproute2,
I have a network to reach which is 192.168.2.0/24. It is a branch of the
company. I have currently added a route to that network via one
gateway (192.168.0.254)
in following way.
ip route add 192.168.2.0/24 via 192.168.0.254
Now, We got another gateway which is 192.168.0.250. Now
Did exactly what you said and added the following lines to the code to
make:
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
echo 1 /proc/sys/net/ipv4/ip_forward
iptables -P
I have a connection to the Internet (on eth1), and over this I also
have a PPTP tunnel set up (on ppp0). Temporarily I use the (slower)
PPTP tunnel for everything, but I really just have to use it for some
specific purposes, which are distinguishable by port.
So, I want to direct only some