Heb ik gedaan, en ook alle policy's staan nu op ACCEPT (input, output en forward), al staat er wel af en toe DROP in een chain:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:255 state NEW
ACCEPT gre -- anywhere anywhere state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:vpn state NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:47 state NEW,RELATED,ESTABLISHED
LOG icmp -- anywhere anywhere icmp echo-request limit: avg 1/min burst 5 LOG level notice prefix `PING:'
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 2/sec burst 5
myfilter all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:http state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp state NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:vpn
ACCEPT gre -- anywhere anywhere
DROP all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:vpn
ACCEPT gre -- anywhere anywhere
DROP all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:vpn
ACCEPT gre -- anywhere anywhere
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
myfilter all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain myfilter (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere state NEW
Verder hier m'n ifconfig ppp0 output:
ppp0 Link encap:Point-to-Point Protocol
inet addr:130.89.6.25 P-t-P:130.89.1.223 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:346769 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:738 (738.0 b) TX bytes:120665150 (115.0 Mb)
En m'n ping request naar het VPN :
PING weblx030.civ.utwente.nl (130.89.1.16) from 130.89.6.149 : 56(84) bytes of data.
--- weblx030.civ.utwente.nl ping statistics ---
24 packets transmitted, 0 received, 100% loss, time 24998ms
Het IP adres 130.89.6.149 is dus het adres wat ik van de VPN server krijg, normaal (zonder gebruik van de regel
route add -net 130.89.0.0 netmask 255.255.0.0 dev ppp0
staat daar een @home IP wat niet zou moeten lijkt me. In ieder geval lukt het maar niet ondanks alle goede tips