Modify

Opened 4 years ago

Closed 4 years ago

#14862 closed task (no_response)

OpenVpn Server side subnet can not access to client as TUN

Reported by: dickson720@… Owned by: developers
Priority: response-needed Milestone: Attitude Adjustment 12.09.1
Component: packages Version: Attitude Adjustment 12.09
Keywords: OpenVpn Cc:

Description

Firewall Config

config defaults

option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'

config include

option path '/etc/firewall.user'

config include 'miniupnpd'

option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'IPv4'
option reload '1'

config zone

option name 'LAN'
option input 'ACCEPT'
option forward 'ACCEPT'
option output 'ACCEPT'
option network 'lan'

config zone

option name 'VPN'
option input 'ACCEPT'
option forward 'REJECT'
option output 'ACCEPT'
option network 'vpn'

config forwarding

option dest 'VPN'
option src 'LAN'

config forwarding

option dest 'LAN'
option src 'VPN'

Server Config

port 1990
proto tcp
dev tun
<ca>


...


</ca>
<cert>


...


</cert>
<key>


...


</key>
<dh>


...


</dh>
ifconfig-pool-persist ipp.txt
log /home/vpnlog/Tun-1990.log
server 192.168.2.0 255.255.255.0
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 8.8.8.8"
client-to-client
comp-lzo
persist-key
persist-tun
verb 3
keepalive 10 120
client-config-dir /etc/openvpn/ccd

Client Config

client
tls-client
dev tun
proto tcp

remote xxx.net 1990
#remote 192.168.1.254 1990
resolv-retry infinite
nobind
persist-tun
persist-key
redirect-gateway def1
<ca>


...


</ca>

<cert>


...


</cert>
<key>


...


</key>

comp-lzo
verb 3

route-method exe
route-delay 2

Description

My cellphone can Ping to Server IP and access to Web service but can not access Server side subnet and server side sub can to ping to my cell phone also.

Attachments (2)

1.jpg (21.1 KB) - added by dickson720@… 4 years ago.
Server subnet Ping to client
2.png (88.6 KB) - added by dickson720@… 4 years ago.
Client Ping to Server

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by dickson720@…

Server subnet Ping to client

Changed 4 years ago by dickson720@…

Client Ping to Server

comment:1 Changed 4 years ago by etienne.champetier

comment:2 Changed 4 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.