Hi All,
I've afreebsd FreeBSD 8.4 and a freebsd FreeBSD 9.3 and I need to redirect all the traffic on port 80 to other servers, passing through a router. I've created gre(4) tunnels between my router and these servers and this is my pf.conf:
I force all traffic for my webpool to use the tunnel gre(4) with this rules in rc.conf
Infreebsd FreeBSD 8.4 everything works fine. Instead with freebsd FreeBSD 9, when I do a GET in port 80, the network becomes very slowly.
Where is my mistake?
Any help will be appreciated
(and sorry I'm a newbie infreebsd FreeBSD world)
I've a
Code:
my_ip="{212.121.212.121}"
webpool="{111.111.111.111, 222.222.222.222}"
grehosts="{123.123.123.123}"
permitted_ips="{123.123.123.123}"
table <blacklist> persist file "/etc/blacklist"
pass in quick on em1 from $permitted_ips
rdr pass on em1 proto tcp from ! <blacklist> to $myip port 80 -> $webpool port 80
pass in quick on gre51 proto icmp all keep state
I force all traffic for my webpool to use the tunnel gre(4) with this rules in rc.conf
Code:
cloned_interfaces="gre61"
ifconfig_gre61="inet 172.16.0.61 172.16.0.161 netmask 255.255.255.255 tunnel 212.121.212.121 123.123.123.123 link1 up"
route_host1="-host 111.111.111.111/32 172.16.0.161
route_host2="-host 222.222.222.222/32 172.16.0.161
In
Where is my mistake?
Any help will be appreciated
(and sorry I'm a newbie in