Hello,
I am not a Linux expert and I am trying to resolve the following problem:
I have installed OpenVPN server on CentOS 5.5 x86_64
Now all I need is to allow it to connect to all the remote servers
Right now I am able to connect to the OpenVPN server from my PC (Using the OpenVPN GUI) but unable to access any remote address. Just the local OpenVPN server's address is accessible.
Now I am having troubles with the following iptables rule:
Code:
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE
I don't have the MASQUERADE module installed so I am getting the following error:
Quote:
|
iptables: Unknown error 18446744073709551615
|
I have tried to install this module but received error and it appear to be impossibe to install
In fact all I need is to find some simple command to allow the OpenVPN server to access all remote servers
I have tried
Code:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source server_ip service iptables
(I have replaced the server_ip with the server's IP address)
But that didn't helped
I have enabled the net.ipv4.ip_forward in sysctl.conf and restarted the server but that didn't helped as well
I'd really appreciate if somebody could help me find a valid command
Thanks in advance!