[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] UDP port 1194 marking/routing problem


  • Subject: [Openvpn-users] UDP port 1194 marking/routing problem
  • From: "Remus" <rmocius@xxxxxxxxxxxxxx>
  • Date: Wed, 6 Apr 2005 11:51:16 +0100

 
Hi folks,
 
I have OpenVPN (respect for it developers) running on my FW.
Is has two external NICs and on internal everything is fine, except
I want OpenVPN (UDP port 1194) going not via default route/network interface.
 
I use such commands:
 
iptables -t mangle -D POSTROUTING -o eth0 -p udp --dport 1194 -j MARK --set-mark 0x990                                             
ip rule add fwmark 0x990 table openvpn1                                                                                          
ip route add default via $P2 dev eth0 table openvpn1
 
eth0 is FW's not default external NIC.
 
I have in use very similar iptables rules for my email server (TCP ports) and etc.
Everything works fine.
What I'm doing wrong with marking/routing the UDP port?
 
Regards
 
Remus
 
 

Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00070.html on line 202

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-04/msg00070.html on line 202