Mikrotik connect to openvpn server over IPv4. But this is not TUN, it's TAP bridge. All devices are on same network 192.168.0.0/24. ASUS receive all Mikrotik's LAN devices MAC and give them IPv6 address
I found some solution - block 67 and 68 ports (DHCP ports) in firewall. This should work. But then devices from Mikrotik's LAN will not receive IPv6 address
Hello!
I have OpenVPN TAP server on AC68U Merlin
And Mikrotik - client
Network bridged as i want
Asus IP - 192.168.0.1, DHCP pool - 192.168.0.3-99
Mikrotik IP - 192.168.0.101, DHCP-pool 192.168.0.102-200
Exept this, ASUS have IPv6
When I made this bridge - at first everything worked well...
Hello!
I have main router Asus connected to internet with public ip. LAN 192.168.0.0/24.
There is also another router Mikrotik that is located elsewhere. Mikrotik receive private ip from ISP. LAN 192.168.1.0/24
I want to remote control Mikrotik. I started PPTP server on my Asus. Mikrotik...
I created "options.pptpd" and "chap-secrets" in /jffs/configs
Created script:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
pc_append "option /jffs/configs/options.pptpd" $CONFIG
After that "/tmp/pptpd/pptpd.conf" change after restart when restore from firmware:
localip 192.168.0.1
remoteip...
Thank you for yor response! I just tried it.
In pptpd.conf:
localip 192.168.0.1
remoteip 192.168.10.1-10
bcrelay br0,pptp[0-9]+
What can I change in this? Information about "chap-secrets" location stored in options.pptpd.
I try to assign IP in "chap-secret", try to create another file and...
Yo-ho-ho!!! I did it :-)
I decided to view the server configuration file. Opened through SSH /etc/openvpn/server1/config.ovpn
Noticed an interesting thing. If Both are selected via WebUI, then two rows are added to the config , comparing with LAN mode
push "route-gateway 192.168.0.1"...
Thank you for support!
Just tried --pull-filter ignore redirect-gateway. On router server set Both ( LAN +internet). Client connected, don't use my gateway, as if everything is ok. But remote access still does not work with port forwarding...