Hi
I have been using openvpn for some time and it was configured to use eth0 but my onboard network card failed and now I use eth1 for networking - no other interfaces are present.
Unsuprisingly, as a result, my VPN connections work fine except DNS doesn't resolve.
I have changed iptables to permit traffic between tun0 and eth1 (where it was previously eth0) and I suspect that the config on my server needs a change but not sure what.
So far I have changed /etc/openvpn/server.conf as follows:
;push "redirect-gateway def1" -- old value
push "redirect-gateway local 192.168.0.11" --new value (the IP of eth1)
to see if specifying the IP for the gateway route works but it doesn't.
Can anyone shed light on the simple change I need to make?
Please note that I am not routing from one interface to another - I am just now using eth1 instead of eth0.
Thanks
Reconfigure for eth1 (DNS not resolving)
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Aug 10, 2018 10:38 am