Forward packages over AnyConnect tunnel
Daniel Sahlberg
daniel.l.sahlberg at gmail.com
Mon Nov 1 07:14:46 PDT 2021
Hi,
(Please keep me in CC since I'm not subscribed to the list! Thanks!)
I'm trying to create a VPN router between network A ("local") and
network B ("remote").
Simple network map
Network A 192.168.22.0/24
OpenConnect "router" 192.168.22.2
|
Cisco router 1.2.3.4
Network B 192.168.11.0/24
I can connect the VPN and use it on the machine where I run OpenConnect.
I have configured routing properly on the other machines on network A
(ie, traffic to 192.168.11.0/24 should go through 192.168.22.2). If I
set net.ipv4.ip_forward=1 the traffic seems to enter the tunnel.
However I don't see any replies.
Is OpenConnect capable of forwarding traffic? I suppose it might need
some NAT masquerading and I have tried the regular iptables setup but
I havn't been able to make it work.
Kind regards
Daniel Sahlberg
More information about the openconnect-devel
mailing list