Unable to route packages to remote network thorugh roadwarrior


i set up a Nethserver 7.7 on a VPS with RoadWarrior configured. I managed to link all my nodes (mostly openwrt routers) and i can now access those from the VPN. The problem is that with the former VPN i was able to route the packages to a remote LAN and now, with the same firewall configuration on the VPN endpoint supposed to act as gateway for the remote LAN that’s no longer working.

The network is more or less this:

VPN client (10.191.1.x)
VPN server ----- Remote lan gw (
   (                           |
                                   Remote lan (

but even creating the route manually won’t have the task done:

# route add dev tun0
# route add -net gw
# ping
PING ( 56 data bytes
--- ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss

Roadwarrior is configured in routed mode.

Thanks in advance,

as reference, the firewall script I’m using on the remote host

iptables -t nat -F
iptables -F

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i tun0 -j ACCEPT
iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o tun0 -m state --state RELATED,ESTABLISHED -j ACCEPT

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

echo 1 > /proc/sys/net/ipv4/ip_forward