Impossible to set up OpenVPN on LowEndSpirit Netherlands VPS; and also no reverse DNS possible
Hello,
Issue 1 :
After hours and hours, I concluded that it is not possible to set up VPN on Netherlands location on LowEndSpirit. I had a VPN at Italy location since the beginning of LowEndSpirit. OpenVPN was working and installing well, I reinstalled it like 10 times. But then, Italy location closed.
So I got a Netherlands LowEndSpirit VPS. But it is not possible to install any VPN on it. Indeed, original script from Nyr https://github.com/Nyr/openvpn-install gives me the message
" Unable to initialize the iptables/netfilter NAT table, setup can't continue.
Make sure that your system has iptables/netfilter available.
If using OpenVZ, ask your provider to enable full netfilter support."
and script from Angristan https://github.com/angristan/openvpn-install is giving me a similar error.
When trying to manually set an iptables redirection, it says that 'nat' table does not exist.
So it is possible to install OpenVPN, and even connect to it. But it will only be possible to ping the local machine, nothing will be redirected. So it is not possible to access the Internet with it. So it is useless.
Of course : TUN/TAP is enabled, I reinstalled the VPS multiple times under various versions of Debian (Debian 8 to Debian 10) with various versions of openvpn-install script. I used "reconfigured networking" a lot of time but I did not solve my issue.
Issue 2:
It is not possible to set a reverse DNS to my IP. "Reverse DNS is disabled for this ipaddress. Please contact support".
Best regards,
Comments
What provider is this? Link?
Inception Hosting provider, location Netherlands.
Issue2:Are you trying to set rdns on ipv4? It's shared resource so not being able to set rdns would be normal.
Have you tried this?
Yep, just
touch /option.netfilter
and wait at most half an hour for the host cron job to pick it up. The file will then be renamed to/netfilter.enabled
, container will reboot on its own, and you'll be good to go.There's also
/option.fuse
and/option.nfs
. Only applies to Ant's NAT services, not mikho's or others'.This was in the NAT LES forum stickies since several months ago; unfortunately, we're in the transition between the old and new forums now.
110% possible, around 400 OpenVPN servers running in that location alone.
rDNS on a NAT IP? I think perhaps the reality is that you should not have bought this service, feel free to pop a ticket in for a refund.
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.
try
#sudo openvpn-install.sh
yes, type sudo while you're root. it's stupid but it works
also if you want to know the actual real reason it is probably that you dont have iptables installed
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.
Please, please, PLEASE let it be this.
it will be.
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.
Huh? Any technical explanation for why this would make any difference?
(It shouldn't if you became root by
su -
orsudo -i
?)it's magic
thanks ramnode
some /sbin/* commands do need explicitly declare
sudo
iirc, the change happens in Wheezy if it's debian, it was on mailinglist but i already forget which mail now (welp, years years ago)you either do
#sudo <sbin>
or edit your iptables using absolute pathfrom:
to:
if
sudo
isn't your fancy, you probably need to update your script to be like that. there's plenty sbin that share this behavior but i can't really list it right now, nah just use absolute path when you're shell scriptingThe script is just designed to check if you have used sudo I think. No other reason. As you noted, the technical side is that both are running root, so it shouldn’t make a difference.
nah, this part is what check you, not the iptables
I would think $EUID might be different due to
-i
with sudo)dash
vsbash
as /bin/sh (applicable if using #!/bin/sh and not #!/bin/bash or env bash ...)I setup openvpn on a 128mb open vz Nat very easily.
Used this script.
https://github.com/angristan/openvpn-install
Enjoy meditation without religion for one month.
Indeed, it was just that I needed to run the script as sudo while being root ... Thank you very much for your help.
As for rDNS, I did not meant that, but back in the days we could have haproxy redirection from mydomain.com:80 --> server_ip:port.
Thankyou verymuch. This sorted it for me. Been at it for weeks. Trying different os's, different scripts.
Its magic once u know how. Great.
I believe that’s documented in their KB?
Clouvider Limited - Our LES Exclusive Unmetered Dedicated Server Offers
Yup
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.