1

Cannot run OpenVPN on port 53 (DNS Stops Working)

view story
linux-howto

http://serverfault.com – So I'm trying to get OpenVPN to work on port 53 - sadly this isn't working. I used IP tables to map port 53 to port 1194 (standard OpenVPN port) Here's what I run to do this: iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-port 1194 iptables -I INPUT -p udp --dport 53 -j ACCEPT This works as the connection is fine except for when I try to visit new domains! DNS just no longer works at all. Here's my server configuration: local xxx.xxx.xxx.xxx #- your_server_ip goes here port 1194 #- port proto udp #- protocol dev tun tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ca /etc/op (HowTos)