I'm at blaackberry i will be very shortly on response.
You aren't using a private network an this is your first trouble. Google for private networks and make this changes before get more networking problems. Best regards. Emiliano Emiliano Vazquez | PcCentro S.R.L. Office: +54 (11) 4635-7764 ext. 4 Celular: 15.6253.7165 Mail: [email protected] Web: http://www.pccentro.com.ar -----Original Message----- From: [email protected] Date: Wed, 26 Jun 2013 15:27:03 To: <[email protected]> Reply-To: [email protected], Shorewall Users <[email protected]> Subject: [Shorewall-users] vpn clients using my own dns server Hello all and happy humpday! I'm using openvpn on a debian testing box and all of openvpn stuff is working as expected!!!:) I'm scratching my head though on how to make my vpn clients use my own dns server. Before posting here I tryed using this post"http://www.mail-archive.com/[email protected]/msg15095.html" and I also red the man page of /etc/shorewall/rules /etc/shorewall/masq but to no avail! My local subnet is on 199.148.1.0/24 masquerade on eth1 for internet access, the dns-entry of the clients pointing to my shorewall interface eth0 at 199.148.1.1. the openvpn's subnet is 194.137.1.0/24 with a dns of 194.137.1.3. So what I would like to do is "translating" all dns request from openvpn "194.137.1.3" to my local network's dns " 199.148.1.1". That way all trafic will go through the vpn and no external dns are neded! I put down anyway what i so far come up with vpn= openvpn vijl= local network running shorewall 4.5.17.1 /etc/shorewall/rules DNAT vijl vpn:199.148.1.1 tcp,udp 53 - 194.137.1.3 /etc/shorewall/masq eth0:194.137.1.3,199.148.1.0/24 Could any one shed light on how to do this!? MD ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
