clients behind a router via tap interface

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
cchris
OpenVpn Newbie
Posts: 1
Joined: Sat Aug 18, 2012 5:08 pm

clients behind a router via tap interface

Post by cchris » Sat Aug 18, 2012 5:25 pm

Hi @ all !

2 days search and try and read but just a small success :(


what i need:
server should reach the clients behind the router via openvpn tunnel.
other clients means printers, tablets and stuff which need broadcast traffic too.
so i need a tap tunnel.

i have created a successfully connection with tap0 to the router and i can ping the router.
but how the [beeeeep] can i reach the the clients behind the router ?


tap0 server: 192.168.70.2 <-> tap1 router: 192.168.70.220 (works)

the router itself give clients 1 192.168.0.x
gateway for clients: 192.168.0.1

Code: Select all

192.168.70.2		     vpn:192.168.70.220
                       router/gatway: 192.168.0.1
-------				   -------------------
Server| - internet -  |router (DD-WRT)  |    192.168.0.x
-------   			   |openvpn 		   | -- Other clients
					       |inet gw.		   |	
					       -------------------



i need a solution .. please :(

chris.

Post Reply