I’m attempting to have a road warrior setup that allows a client (IE myself outside my home network) VPN into my home network and act as if I’m in it to work on servers / cameras, etc. with a Mikrotik HEX.
I have L2TP with IPSEC working. I can connect to the VPN and talk to my router via my internal IP address of the router. However, I can’t talk to any of my other network computers.
I created a bridge with ARP-Proxy and assigned my PPP profile to it, which still doesn’t allow access to the other clients on my network. Then I added ether2-master to the bridge, and it all works as I want! But… after about 5-10 minutes, all my clients on Port 2 (which is connected to my wifi) are all kicked off the router and lose their addresses. The Log only reports:
defconf deassigned 192.168.40.XX from BB:BB:BB:BB:BB:BB - for all my clients on my wifi. I thought I might have a loop, but nothing about that in the logs. Any ideas what's wrong?
[code:2282vo2t]
/ppp profile
set *FFFFFFFE bridge=vpnBridge dns-server=192.168.40.1 local-address=192.168.40.1 remote-address=vpn use-encryption=default ‘VPN is a pool that isnt used for anything else’
/ppp secret
add name=loginname password=abetterpasswordthanthis profile=default-encryption service=l2tp
/interface l2tp-server server
set allow-fast-path=yes authentication=mschap2 enabled=yes ipsec-secret=mysecret mrru=1600 use-ipsec=required
/interface bridge
add arp=proxy-arp name=vpnBridge
/interface bridge port ‘With this enabled it works but kicks everyone off ether2 after about 5 minutes, while disabled I cant access local clients’
add bridge=vpnBridge disabled=yes interface=ether2-master
[/code:2282vo2t]
Thank you for any help.