www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

open vpnserver behind dlink dir300 router

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking
View previous topic :: View next topic  
Author Message
henryc45



Joined: 20 Feb 2009
Posts: 2
Location: jakarta indonesia

PostPosted: Fri Feb 20, 2009 7:16 pm    Post subject: open vpnserver behind dlink dir300 router Reply with quote

Zeroshell is perfect
My name is henry. I've got questions
1. My zeroshell box eth00(192.168.0.75) is connected to internal lan & eth01(192.168.1.1 )is connected to router dlink dir300(ip 192.168.1.1)<==>cable modem (wan ip=69.247.20.50). Its in routed mode.
Everything is fine except i cannot vpn using host to lan open vpn method you described. Vpn tap interface in the ZS BOX VPN00=ip 192.168.250.254
I have created dyndns account that refers to wan ip (http://xxx.homeip.net=69.247.20.50). I have created forwarding rule in the dlink router to forward port 1194 tcp to 192.168.1.1 but since its the dlink router ip i know it wont work. I also cannot forward port 1194 to vpn00 because the dlink router refused because vpn00 is not in ip range of ip 192.168.1.xx. Is it possible to retain these settings or do i have to change the ip configurations of eth01 & dlink router's ip?or is it better to make eth01&vpn00 a bridge bri00? Do i have to create firewall rules as well in zeroshell ?please shed some lights
Question no 2: how to instruct zeroshell to allow a certain user pop & smtp email access only that means no internet browsing.?
Any help will be appreciated
Back to top
View user's profile Send private message
henryc45



Joined: 20 Feb 2009
Posts: 2
Location: jakarta indonesia

PostPosted: Sat Feb 21, 2009 6:20 pm    Post subject: openvpn server behind wag200g but cant acces lan resources Reply with quote

Greetings & Hello
The above post with dlink dir 300 dont work , idonk know why, but i tested with another linksys adsl wag200g , my openvpn client is connected and assigned an ip of 192.168.250.1. In the linksys router i have to forward external and internal port 1194 tcp to eth01 ip of 192.168.2.4. The linksys adsl router is 192.168.2.5 & zeroshell internal NIC Eth00 is 192.168.0.76

I have also clicked the NET button in Openvpn host to lan config and entered 192.168.0.0/24 in order to view lan resources but i cannot . My LAN is in 192.168.0.1-192.168.0.254 range

Actually what i wanted to achieve here is to connect to my HMAIL server 192.168.0.1 and to get internal mail remotely
Where did i go wrong , please help
Thank You
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group