Proxy ARP with SoftEther on an embedded device
Posted: Tue Nov 07, 2017 6:20 pm
Hi,
I have an ARMv5 embedded NAS with uClibc. And I decided to compile the latest SE source. It works smoothely, and the built in check says okay for all the system requirements.
However, the box has the old 2.6.31.8 kernel with disabled bridge.ko and NETFILTER support. So I Cannot use bridgeing, nor iptables in order to access my box remotely (I Can access everything, except the VPN server itself) through VPN.
But there is a workaround using Proxy ARP. With openVPN, I Can run this tiny sh file on every new connection establishment:
#!/ffp/bin/sh
default_nic="$(/bin/ip route show | grep -w 'default' | awk 'NR==1 {print $5}')"
/ffp/bin/sudo /ffp/sbin/arp -i "$default_nic" -Ds "$ifconfig_pool_remote_ip" "$default_nic" pub
/ffp/bin/sudo /bin/ip route add "$ifconfig_pool_remote_ip"/32 dev "$dev"
How Can I reach the same result with SEVpn? As I saw, there is no such option to run commands on client connect/disconnect.
Thanks.
I have an ARMv5 embedded NAS with uClibc. And I decided to compile the latest SE source. It works smoothely, and the built in check says okay for all the system requirements.
However, the box has the old 2.6.31.8 kernel with disabled bridge.ko and NETFILTER support. So I Cannot use bridgeing, nor iptables in order to access my box remotely (I Can access everything, except the VPN server itself) through VPN.
But there is a workaround using Proxy ARP. With openVPN, I Can run this tiny sh file on every new connection establishment:
#!/ffp/bin/sh
default_nic="$(/bin/ip route show | grep -w 'default' | awk 'NR==1 {print $5}')"
/ffp/bin/sudo /ffp/sbin/arp -i "$default_nic" -Ds "$ifconfig_pool_remote_ip" "$default_nic" pub
/ffp/bin/sudo /bin/ip route add "$ifconfig_pool_remote_ip"/32 dev "$dev"
How Can I reach the same result with SEVpn? As I saw, there is no such option to run commands on client connect/disconnect.
Thanks.