Hi, I'm trying to replace my old laptop with ubuntu server with my new Pogo and ALARM, one of the key features I need to setup is OpenVPN and traffic forwarding through an encrypted tunnel.
I've already done this on my laptop-ubuntu setup some time ago and it works like a charm, but I have a problem with ALARM with regard to ip forwarding.
Basically I can connect to VPN from outside and access the Pogo through SSH, my local routing tables are updated with all necessary routes (routing tables look exactly like with VPN tunnel to the ubuntu), but I cannot ping any other devices on the server side, from what I gather by looking through tcpdump on Pogo it gets ping requests but doesn't forward them to other devices.
I've already changed /etc/sysctl.conf to enable ip forwarding and verified that /proc/sys/net/ipv4/ip_forward is also enabled. After that I've also installed iptables and enabled forwarding there, still no luck. I did try this:
- Code: Select all
[root@alarm ~]# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
FATAL: Module ip_tables not found.
iptables v1.4.12.1: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I've also tried:
- Code: Select all
[root@alarm ~]# modprobe ip_tables
FATAL: Module ip_tables not found.
So it looks to me like there is something wrong the iptables by itself, might this be the cause of my problem with ip forwarding?
Any help would be much appreciated.
Pogo-P24 (new Pogoplug Classic) - ALARM on SATA (mediatomb, netatalk, avahi, time machine, swap, openvpn)
Pogo-E02 (v2 Pink) - ALARM on USB (netatalk, avahi, cryptodev-linux, getting ready for L2TP)