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

[Openvpn-users] Accessing remote machines !!!!!


  • Subject: [Openvpn-users] Accessing remote machines !!!!!
  • From: "PremKumar Jayaram" <premkumarjayaram@xxxxxxxxxxx>
  • Date: Fri, 02 Jan 2004 16:05:24 +0000

Hi All,
	192.168.0.x WIN32
	255.255.255.0
	 ------------------		 ------------   Internet
	|  		   | ------>----| firewall F1 | ----->--
	|  openvpn client  |		|192.168.1.x  |
	|	10.3.0.2   |		|  	      |
	 ------------------		 -----------


Internet --------------- --------------- -->---| |--->------| | | firewall F2 | openvpn server | | | | 10.3.0.1 | ------------------ --------------- 192.168.1.197 & 192.168.2.10 192.168.1.x LINUX 255.255.255.0 255.255.255.0 | | V --------|------- | 192.168.2.0/24 | | | ---------------

-Installed openvpn client on 192.168.0.x ( virtual ip 10.3.0.2 ) say Network A
-Installed openvpn Server on 192.168.1.x ( virtual ip 10.3.0.1 ) say Network B
-Firewall F1 connects Network A and B, Firewall F2 connects Network B and 192.168.2.x
-Established tcp connection between openvpn client and server
-ping 10.3.0.1 worked from 10.3.0.2 (client machine).


can i access all machine in 192.168.2.x from 10.3.0.2(open vpn client) ?
if Yes, need help on how to accomplish it ?

Following are the OpenVpn configuration files:

Server configuration
----------------------
# Edit this file, and save to a .ovpn extension
# so that OpenVPN will activate it when run
# as a service.

# port number than the default of 5000.
port 5000

# Choose one of three protocols supported by
# OpenVPN.  If left commented out, defaults
# to udp.
# proto [tcp-server | tcp-client | udp]
proto tcp-server

# Enable 'dev tap' or 'dev tun' but not both!
dev tap
#dev tun

# This is a 'dev tap' ifconfig that creates
# a virtual ethernet subnet.
# 10.3.0.1 is the local VPN IP address
# and 255.255.255.0 is the VPN subnet.
# Only define this option for 'dev tap'.
ifconfig 10.3.0.1 255.255.255.0

# This is a 'dev tun' ifconfig that creates
# a point-to-point IP link.
# 10.3.0.1 is the local VPN IP address and
# 10.3.0.2 is the remote VPN IP address.
# Only define this option for 'dev tun'.
# Make sure to include the "tun-mtu" option
# on the remote machine, but swap the order
# of the ifconfig addresses.
#tun-mtu 1500
#ifconfig 10.3.0.1 10.3.0.2

#up ./office.up
# keep-alive ping
ping 10


# moderate verbosity verb 4 mute 10


client configuration -------------------- # Edit this file, and save to a .ovpn extension # so that OpenVPN will activate it when run # as a service.

# port number than the default of 5000.
port 5000

# Choose one of three protocols supported by
# OpenVPN.  If left commented out, defaults
# to udp.
# proto [tcp-server | tcp-client | udp]
proto tcp-server

# Enable 'dev tap' or 'dev tun' but not both!
dev tap
#dev tun

# This is a 'dev tap' ifconfig that creates
# a virtual ethernet subnet.
# 10.3.0.1 is the local VPN IP address
# and 255.255.255.0 is the VPN subnet.
# Only define this option for 'dev tap'.
ifconfig 10.3.0.2 255.255.255.0

# This is a 'dev tun' ifconfig that creates
# a point-to-point IP link.
# 10.3.0.1 is the local VPN IP address and
# 10.3.0.2 is the remote VPN IP address.
# Only define this option for 'dev tun'.
# Make sure to include the "tun-mtu" option
# on the remote machine, but swap the order
# of the ifconfig addresses.
#tun-mtu 1500
#ifconfig 10.3.0.2 10.3.0.1

#up ./office.up
# keep-alive ping
ping 10


# moderate verbosity verb 4 mute 10


Thanks -Prem

_________________________________________________________________
Tired of slow downloads? Compare online deals from your local high-speed providers now. https://broadband.msn.com



____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users