Hello guys.
First at all, sorry, but my english is not good at all.
This is my situation.
I got an OpenSuSE 10.3 installed on a machine with 2 NICs, eth0 connected to internet and eth1 connected to lan.
eth1 is the default gateway of the lan (172.88.60.254/24).
The firewall´s rules was generated with FirewallBuilder 2.1.14.
I got an VPN´s endpoint Cisco3002 connected to the lan, with the private´s IP 172.88.60.1
So, I got on the linux box a route to redirect all the traffic for my headquarters, to the IP 172.88.60.1 and a firewall rule permit this traffic, on both ways.
IP forwarding is enabled.
This is my problem.
When I try to access to a pc on the lan 172.88.60.0/24 from headquarters, the firewall drops the packets.
If I try to access the OpenSuSE box using ssh from the headquarters, everything is all right
I try changing the forward policy to ACCEPT, but the problem remains
I put here my iptables:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT 0 – 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
RULE_0 0 – 200.61.185.97 0.0.0.0/0 state NEW
RULE_0 0 – 200.61.185.98 0.0.0.0/0 state NEW
RULE_0 0 – 200.61.185.99 0.0.0.0/0 state NEW
RULE_0 0 – 200.61.185.100 0.0.0.0/0 state NEW
RULE_0 0 – 172.88.60.254 0.0.0.0/0 state NEW
Cid4868F8035452.0 tcp – 0.0.0.0/0 200.61.185.97 tcp dpt:22 state NEW
RULE_2 0 – 172.88.60.0/24 0.0.0.0/0 state NEW
RULE_2 0 – 172.100.0.0/16 0.0.0.0/0 state NEW
RULE_3 0 – 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT 0 – 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
RULE_2 0 – 172.88.60.0/24 0.0.0.0/0 state NEW
RULE_2 0 – 172.100.0.0/16 0.0.0.0/0 state NEW
RULE_3 0 – 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT 0 – 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
RULE_0 0 – 0.0.0.0/0 0.0.0.0/0 state NEW
RULE_2 0 – 172.88.60.0/24 0.0.0.0/0 state NEW
RULE_2 0 – 172.100.0.0/16 0.0.0.0/0 state NEW
RULE_3 0 – 0.0.0.0/0 0.0.0.0/0
Chain Cid4868F8035452.0 (1 references)
target prot opt source destination
RULE_1 0 – 200.123.136.5 0.0.0.0/0
RULE_1 0 – 201.216.225.169 0.0.0.0/0
RULE_1 0 – 200.45.135.178 0.0.0.0/0
RULE_1 0 – 200.45.135.179 0.0.0.0/0
RULE_1 0 – 200.45.135.180 0.0.0.0/0
RULE_1 0 – 200.45.135.181 0.0.0.0/0
RULE_1 0 – 200.45.135.182 0.0.0.0/0
RULE_1 0 – 200.45.135.183 0.0.0.0/0
RULE_1 0 – 200.45.135.184 0.0.0.0/0
RULE_1 0 – 200.45.135.185 0.0.0.0/0
RULE_1 0 – 200.45.135.187 0.0.0.0/0
RULE_1 0 – 200.45.135.188 0.0.0.0/0
RULE_1 0 – 200.45.135.190 0.0.0.0/0
RULE_1 0 – 172.17.1.254 0.0.0.0/0
RULE_1 0 – 172.100.100.253 0.0.0.0/0
RULE_1 0 – 201.234.26.114 0.0.0.0/0
RULE_1 0 – 201.234.26.115 0.0.0.0/0
RULE_1 0 – 201.234.26.116 0.0.0.0/0
RULE_1 0 – 201.234.26.117 0.0.0.0/0
RULE_1 0 – 201.234.26.118 0.0.0.0/0
RULE_1 0 – 201.234.26.119 0.0.0.0/0
RULE_1 0 – 201.234.26.120 0.0.0.0/0
RULE_1 0 – 201.234.26.121 0.0.0.0/0
RULE_1 0 – 201.234.26.123 0.0.0.0/0
RULE_1 0 – 201.234.26.124 0.0.0.0/0
RULE_1 0 – 201.234.26.125 0.0.0.0/0
RULE_1 0 – 201.234.26.126 0.0.0.0/0
RULE_1 0 – 172.17.2.254 0.0.0.0/0
RULE_1 0 – 172.100.101.254 0.0.0.0/0
Chain RULE_0 (6 references)
target prot opt source destination
LOG 0 – 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `RULE 0 – ACCEPT ’
ACCEPT 0 – 0.0.0.0/0 0.0.0.0/0
Chain RULE_1 (29 references)
target prot opt source destination
LOG 0 – 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `RULE 1 – ACCEPT ’
ACCEPT 0 – 0.0.0.0/0 0.0.0.0/0
Chain RULE_2 (6 references)
target prot opt source destination
LOG 0 – 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `RULE 2 – ACCEPT ’
ACCEPT 0 – 0.0.0.0/0 0.0.0.0/0
Chain RULE_3 (3 references)
target prot opt source destination
LOG 0 – 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `RULE 3 – DENY ’
DROP 0 – 0.0.0.0/0 0.0.0.0/0
Anybody can help me?