BigEd 0 Posted ... ok, using Ubuntu 14.04, Thunderbird, VPN through Network manager. Unable to connect to my outgoing mail server.smtp.secureserver.net / 68.178.213.37 port 465 SSL/TLS . I am unable to connect to it while on VPN (Blocked I assume), turn off VPN and I have no problem. This also seems to be the only port they offer.Is there a way to add to the settings that anything going to this address to bypass VPN via the iptables and if so how. Tried a few settings and still doesnt work. Or do I need to add a additional Netcard? Quote Share this post Link to post
InactiveUser 188 Posted ... First of all, I'd file a complaint with whoever you're with - why would any service block a customer's IP on an authenticated mailserver? Makes little sense to me. Anyway, if you do want to bypass the VPN for this IP, you need to set a route for it. Routes are not handled by iptables.In NetworkManager, edit your VPN connection. In the IPv4 tab, you will find a "Routes" section.Add a route for:Address 68.178.213.37Netmask 255.255.255.255Gateway X.X.X.X Replace X.X.X.X with your home router's local address (192.168.0.1, for example) You only need to touch iptables if you're already using it to block non-VPN traffic.In that case, create a rule that allows outgoing traffic to 68.178.213.37 on your ethernet or wifi interface. Quote Hide InactiveUser's signature Hide all signatures all of my content is released under CC-BY-SA 2.0 Share this post Link to post
zhang888 1066 Posted ... Note that smtp.secureserver.net resolves also to 72.167.238.29 from some locations.http://check-host.net/check-dns?host=smtp.secureserver.net Quote Hide zhang888's signature Hide all signatures Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees. Share this post Link to post
BigEd 0 Posted ... I would file a complaint, But my smtp server is GoDaddy and that would be like pulling teeth. I would prefer not to use them but for reasons I have to because of my email settings and certain things I need to do. So someone at one time (one we need to thank with a hammer or such) used the VPN server to flood out spam mail and got the server banned creating my problem. Before trying what you said I switch to a US server in PA, my god I could of walked the 2400 miles faster than sending a file. But at least the smtp worked. So that leaves it with the IP being blocked on the 1st server for sure. I then tried your settings as you mentioned and almost nothing worked, web pages died, even doing a netstat -r was dead slow at displaying. Here are some of the settings before and after (each labelled below)... The `p3plibsmtp02-v0` is the smtp server. Well after this I changed to another server in CA, `Chort` with out adding the routing and low and behold the smtp worked. By the way, I'm using Charter with 60mbps download speed, so finding a good VPN server is a trick to get close to what is acceptable for speeds. ====VPN RUNNING With the Routing Added====Kernel IP routing tableDestination Gateway Genmask Flags MSS Window irtt Ifacedefault 10.30.0.1 0.0.0.0 UG 0 0 0 tun010.30.0.0 * 255.255.0.0 U 0 0 0 tun0p3plibsmtp02-v0 192.168.0.2 255.255.255.255 UGH 0 0 0 tun0184.75.214.162 192.168.0.2 255.255.255.255 UGH 0 0 0 eth1192.168.0.0 * 255.255.255.0 U 0 0 0 eth1192.168.0.2 * 255.255.255.255 UH 0 0 0 tun0192.168.193.0 * 255.255.255.0 U 0 0 0 vmnet8192.168.200.0 * 255.255.255.0 U 0 0 0 vmnet1estrait@sunblazer:~$ ping smtpout.secureserver.netping: unknown host smtpout.secureserver.net (does use a range of IP's)==== No VPN Running =====Kernel IP routing tableDestination Gateway Genmask Flags MSS Window irtt Ifacedefault 192.168.0.2 0.0.0.0 UG 0 0 0 eth1192.168.0.0 * 255.255.255.0 U 0 0 0 eth1192.168.193.0 * 255.255.255.0 U 0 0 0 vmnet8192.168.200.0 * 255.255.255.0 U 0 0 0 vmnet1====VPN without the Routing added====Kernel IP routing tableDestination Gateway Genmask Flags MSS Window irtt Ifacedefault 10.30.0.1 0.0.0.0 UG 0 0 0 tun010.30.0.0 * 255.255.0.0 U 0 0 0 tun0184.75.214.162 192.168.0.2 255.255.255.255 UGH 0 0 0 eth1192.168.0.0 * 255.255.255.0 U 0 0 0 eth1192.168.193.0 * 255.255.255.0 U 0 0 0 vmnet8192.168.200.0 * 255.255.255.0 U 0 0 0 vmnet1PING smtpout.where.secureserver.net (68.178.252.229) 56(84) bytes of data.64 bytes from p3plsmtpa12-v01.prod.phx3.secureserver.net (68.178.252.229): icmp_seq=1 ttl=117 time=163 ms Quote Share this post Link to post
BigEd 0 Posted ... Note that smtp.secureserver.net resolves also to 72.167.238.29 from some locations.http://check-host.net/check-dns?host=smtp.secureserver.netGoDaddy, they prob have a dozen or so IP addy's Quote Share this post Link to post
clidx 1 Posted ... I wrote a script to do this for multiple websites for use with Network Manager's dispatcher service. See https://www.mankier.com/8/NetworkManager #!/bin/bash URL_LIST=("smtp.secureserver.net" "anothersite.com" "space-delimited.net") GATEWAY="192.168.0.1" IP_LIST=() for url in $URL_LIST do ip=`dig +short $url` IP_LIST+=("$ip") done for ips in $IP_LIST do ips=(`echo $ips | tr " " "\n"`) for ip in $ips do ip route add $ip via $gateway done doneAdd in the URLs you need, save it as root in /etc/NetworkManager/dispatcher.d as whatever you want to call it and it will run after connecting to a network. 1 towelsforall reacted to this Quote Share this post Link to post
avkaDien 0 Posted ... So how can I make press switches behave like toggle ones ? e.g Landing gear has also a toggle functionality Key binding but not EAC for example. Is there any way to create one for EAC etc ? Quote Share this post Link to post