i have problem. openvpn share.
sorry. i can't speak english very well..
i have problem for using openvpn. my problem is share. my network. Code:
[linux (openvpn)] pc1 ip is 100.100.100.10/24 pc2 ip is 100.100.200.10/24 and add rule src 100.100.100.0/24 dst 100.100.200.0/24 drop src 100.100.200.0/24 dst 100.100.100.0/24 drop to linux iptables forward filter chain. this setting is between pc1 and pc2 all packet drop. but. if setting to pc1 ip is 100.100.100.10/24 pc2 ip is 100.100.100.20/24 and add rule src 100.100.100.0/24 dst 100.100.100.0/24 drop to linux iptables forward filter chain. this setting is between pc1 and pc2 all packet allow. not drop. hmm.. my question is. openvpn is process to same network is throw the packet to not forward? what i'm working for this? i want to same network packet control. i guess openvpn is same network packet is throw not forward. throw the output. direct. help me please.. a~ my linux and pc information. linux - debian sarge 3.2.26 openvpn - OpenVPN 2.1_beta7 i686-pc-linux iptables - v1.3.4 pc is windows any version. ( XP, VISTA, windows2000 ... ) only windows. |
i find solution.
server setting in .conf file. delete to client-to-client command. if this command is delete. same network traffic is throw forward chain. |
Hello sodoojin:
I am currently working on setting openvpn as a gateway between my office LAN and the LAN behind the vpn server. I can ping and access the LAN behind the vpn server from the office network, but I cannot do the same from the LAN behind the openvpn. I can just ping the tunnel IP from the LAN behind the vpn. What I need to do is set my openvpn to be the gateway between the my office LAN and the LAN behind the openvpn server. I am running Centos 5, and openvpn version. 2.0.9. These are my routing tables: openvpn-linux client routing table: Code:
[root@localhost ~]# netstat -rn Code:
[root@vpnserver etc]# netstat -rn Code:
[root@boxbehindvpn ~]# netstat -rn Code:
IP of localhost: 192.168.2.153 with gateway 192.168.2.254 Code:
[root@localhost ~]# ip route get 10.3.0.1 Code:
[root@localhost ~]# ip route get 192.168.1.104 Code:
[root@vpnserver etc]# ip route get 10.3.0.1 Code:
[root@vpnserver etc]# ip route get 192.168.2.153 Code:
[root@boxbehindvpn ~]# ip route get 10.3.0.1 Thanks. --Willie |
sorry. i don't understand what do you mean.
i want picture. hmm.. in my guess. you talk is. office lan pc -> openvpn server : ping ok office lan pc -> openvpn client : ping no correct? if your problem is this. check the firewall. and routing table. if you need my help. please write your network draft. and you write very very very simple. sorry. i don't speak english.. thank you. good luck. |
All times are GMT -5. The time now is 06:28 AM. |