R
R
rodion-dev2015-03-13 01:29:00
linux
rodion-dev, 2015-03-13 01:29:00

How to set up an ssh connection if you run an openvpn client on the server?

there is a problem with connecting via ssh if you start the openvpn client on the server
does not connect,
in theory, you need to register ip route, but I don’t understand how
such network interfaces are available:
enp0s5: flags=4163 mtu 1500
inet 10.129.162.49 netmask 255.0.0.0 broadcast 10.255. 255.255
inet6 fe80::21c:42ff:feb7:eed2 prefixlen 64 scopeid 0x20
ether 00:1c:42:b7:ee:d2 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 59 bytes 9224 (9.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s6: flags=4163 mtu 1500
inet 109.*.*.* netmask 255.255.255.0 broadcast 109.*.*.255
inet6 fe80::21c:42ff:fe99:f530 prefixlen 64 scopeid 0x20
ether 00:1c:42:99:f5:30 txqueuelen 1000 ( Ethernet)
RX packets 3828 bytes 344674 (336.5 KiB)
RX errors 0 dropped 13 overruns 0 frame 0
TX packets 742 bytes 106270 (103.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
no one can tell you?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yamschikov, 2015-03-13
@mobilesfinks

It looks like your default route is being changed when you enable the openvpn client. Remove the setting that will force the default route through the VPN server - I don't remember what the setting is called correctly.
generally try instead of openvpn - tinc
there and automatic routing will be and fullmesh connection and is easily configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question