Linux Netfilter discussions
 help / color / mirror / Atom feed
* masquerade error
@ 2011-10-11  7:01 J Webster
  2011-10-11 13:31 ` Jan Sarenik
  2011-10-11 13:43 ` J Webster
  0 siblings, 2 replies; 11+ messages in thread
From: J Webster @ 2011-10-11  7:01 UTC (permalink / raw)
  To: netfilter

I am trying to add forwarding rules for openvpn but I get an unknown
error on my virtual server.

Also, after running the command lines, none of the additions are
entered into the iptables script.

[root@vps8259 myscripts]# echo 1>  /proc/sys/net/ipv4/ip_forward
[root@vps8259 myscripts]# iptables -A FORWARD -m state --state  RELATED,ESTABLISHED -j ACCEPT
[root@vps8259 myscripts]# iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT
[root@vps8259 openvpn]# iptables -A FORWARD -s 172.16.0.0/24 -j ACCEPT
[root@vps8259 openvpn]# iptables -A FORWARD -j REJECT
[root@vps8259 openvpn]# iptables -t nat -A POSTROUTING -s 10.8.0.0/24  -o venet0 -j MASQUERADE
iptables: Unknown error 4294967295
[root@vps8259 openvpn]# iptables -t nat -A POSTROUTING -s 10.8.0.0/24  -o venet0 -j MASQUERADE
iptables: Unknown error 4294967295
  		 	   		


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-14 11:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-11  7:01 masquerade error J Webster
2011-10-11 13:31 ` Jan Sarenik
2011-10-11 13:43 ` J Webster
2011-10-12 18:18   ` J Webster
2011-10-13 14:09     ` Jan Sarenik
2011-10-14  7:34     ` J Webster
2011-10-14  8:55       ` Rob Sterenborg (lists)
2011-10-14  9:05         ` Rob Sterenborg (lists)
     [not found]           ` <4E980738.5040202@googlemail.com>
2011-10-14  9:57             ` J Webster
2011-10-14 10:27               ` Rob Sterenborg (lists)
2011-10-14 11:45                 ` J Webster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox