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

[Openvpn-users] Problem with AS400


  • Subject: [Openvpn-users] Problem with AS400
  • From: "Francisco J. Lozano B." <fralozan@xxxxxxxxxxxxx>
  • Date: Tue, 01 Mar 2005 11:37:50 -0500

Hi there ... I have two networks A and B connected trough OpenVPN,
I can ping any Linux or Windows machine from A to B and from B to A
I have an AS400 server in network A, I can ping from this server
to any machine in both networks and I can ping it from any machine
in network A ... but I can't ping from network B to this AS400 server.
This is my ASCII version (Sorry, english isn't my original language)

P.D.: The AS400 is the main reason for me to use a VPN, so, I need to
connect to it from B network, tks.

,-> Network A (192.168.10/24)
| `-> eth1: 192.168.1.1 (Slackware + OpenVPN 1.6.0)
,-> tun0: 192.168.100.1
+-> eth0: 192.168.0.2
|
| ADSL Router
`-> LAN: 192.168.0.1
,-> Internet: 11.22.33.44
|
|
|
+-> Internet: ppp0 (xx.xx.xx.xx)
`-> tun0: 192.168.100.2
,-> eth0: 192.168.2.1 (Slackware + OpenVPN 1.6.0)
|
`-> Network B (192.168.2.0/24)



OpenVPN config file (Slackware A) --------------------------------- dev tun local 11.22.33.44 ifconfig 192.168.100.2 192.168.100.1 up /etc/openvpn/openvpn.up replay-persist /etc/openvpn/openvpn.rp secret /etc/openvpn/openvpn.key port 5000 ping 15 ping-restart 300 resolv-retry 300 persist-tun persist-key comp-lzo user nobody group nobody daemon verb 4 ---------------------------

/etc/openvpn/openvpn.up (A)
---------------------------
#!/bin/bash
/sbin/route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.100.1


OpenVPN config file (Slackware B) --------------------------------- dev tun remote 11.22.33.44 ifconfig 192.168.100.2 192.168.100.1 up /etc/openvpn/openvpn.up replay-persist /etc/openvpn/openvpn.rp secret /etc/openvpn/openvpn.key port 5000 ping 15 ping-restart 300 resolv-retry 300 persist-tun persist-key comp-lzo user nobody group nobody daemon verb 4 ---------------------------

/etc/openvpn/openvpn.up (A)
---------------------------
#!/bin/bash
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.100.2



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