Is it possible to install the iptables nat module for VPS hosting

Avatar
  • updated
  • Answered

I would like to use the iptables nat table to add pre and post routing rules.


When running iptables -t nat -L I get the error:

can't initialize iptables table `nat': Table does not exist (do you need to insmod?)

When running 

modprobe iptable_nat 

I get the error:

Module iptable_nat not found.

Pinned replies
Avatar
anonymous
  • Answer
Quote from michael

Its actually a kernel module, are we allowed to add to the kernel modules? Normally its there to modprobe but since it was not there I didn't know if it was restricted. I'll reach out to technical support.

I checked with some of the senior Support Technicians, and modprobe should be working on most VPSs. It sounds like it is going to come down to a configuration issue on your particular VPS, and in that case I would suggest submitting a verified support ticket so someone with authorization to log in to your server directly can find out what is going on. 

Avatar
anonymous
  • Answer
Quote from michael

Its actually a kernel module, are we allowed to add to the kernel modules? Normally its there to modprobe but since it was not there I didn't know if it was restricted. I'll reach out to technical support.

I checked with some of the senior Support Technicians, and modprobe should be working on most VPSs. It sounds like it is going to come down to a configuration issue on your particular VPS, and in that case I would suggest submitting a verified support ticket so someone with authorization to log in to your server directly can find out what is going on. 

Avatar
Bilel Azri
Quote from michael

I have not yet, but I'll let you know if I do.

Thanks,
If i find a solution i will ping you

Avatar
michael
Quote from Bilel Azri

Hello,

i have same problem with my VPS (Ubuntu OS) 

you found any solution ??
 

I have not yet, but I'll let you know if I do.

Avatar
michael
Quote from anonymous

You should be able to install nearly any software on your VPS as long as there is an up to date, CentOS compatible version of it available. If you encounter errors when trying to install it, I would check in with our 24/7 Technical Support team. It may be an issue regarding the CentOS, MySQL/MariaDB or Apache version being out of date. 

Its actually a kernel module, are we allowed to add to the kernel modules? Normally its there to modprobe but since it was not there I didn't know if it was restricted. I'll reach out to technical support.

Avatar
Bilel Azri
Quote from anonymous

You should be able to install nearly any software on your VPS as long as there is an up to date, CentOS compatible version of it available. If you encounter errors when trying to install it, I would check in with our 24/7 Technical Support team. It may be an issue regarding the CentOS, MySQL/MariaDB or Apache version being out of date. 

Hello,

i have same problem with my VPS (Ubuntu OS) 

you found any solution ??
 

Avatar
-1
anonymous
  • Answered

You should be able to install nearly any software on your VPS as long as there is an up to date, CentOS compatible version of it available. If you encounter errors when trying to install it, I would check in with our 24/7 Technical Support team. It may be an issue regarding the CentOS, MySQL/MariaDB or Apache version being out of date.