Answer the question
In order to leave comments, you need to log in
Mikrotik / Routeros wrap some ip through openvpn - why doesn't routing work?
There is a server on debian:
mode server
topology subnet
proto tcp-server
verb 3
local xxxxxxxxx
mssfix
passtos
#comp-lzo yes
comp-noadapt
mssfix
tun-mtu 1500
#fragment 1460
sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
push "dhcp-option DNS 8.8.8.8"
user nobody
group nogroup
duplicate-cn
cipher AES-256-CBC
keysize 256
tls-server
persist-key
persist-tun
persist-local-ip
persist-remote-ip
client-to-client
keepalive 5 40
ca /etc/openvpn/keys/ca.crt
dh /etc/openvpn/keys/dh1024.pem
key /etc/openvpn/keys/server.key
cert /etc/openvpn/keys/server.crt
dev tap
lport 1194
push "route-gateway 10.100.200.1"
#push "redirect-gateway def1 bypass-dhcp"
ifconfig 10.100.200.1 255.255.255.0
ifconfig-pool 10.100.200.2 10.100.200.254 255.255.255.0
log-append /var/log/openvpn_server.log
Answer the question
In order to leave comments, you need to log in
Would you like one more src-nat rule, for openvpn ( similar to
ether1 )
to certain ip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question