[Tilt, TyTN II, MDA Vario III General] bonilla:
Hi everyone ,

I've got a small problem with an OpenVPN connection with my kaiser.

First, the facts:

My ip :82.227.XXX.XXX

my ip(local): 192.168.1.2

gateway :192.168.1.1

Here are my server and client config files:

#SERVER

local 192.168.1.2

dev tun

ifconfig 192.168.200.2 192.168.200.1

secret secret.key

proto tcp-server

verb 9

port 443

persist-key

persist-tun

push "route 192.168.1.0 255.255.255.0"

push "dhcp-option WINS 192.168.1.1"

#CLIENT

secret "\\Carte de stockage\\Program Files\\OpenVPN\\config\\secret.key"

proto tcp-client

ifconfig 192.168.200.1 192.168.200.2

dev tun

tun-mtu 1500

mssfix

persist-tun

persist-key

conmgr {D367F735-1532-487E-A664-C9D90E11861C} 1

remote 82.227.XXX.XXX

http-proxy-retry

http-proxy 195.115.XXX.XXX 8080

log "\\Carte de stockage\\Program Files\\OpenVPN\\log\\client.log"

management 127.0.0.1 10000

service openvpn_exit_1

port 443

ping 15

ping-restart 120

resolv-retry 60

verb 4

route 192.168.1.0 255.255.255.0

redirect-gateway def1

The connection starts ,I got green icon in my server telling me client is connected.

But I can't start a web page in my kaiser ,so the problem is with the dns or with the route table?

I'm using Windows XP

and finally here is my log (verb 4):

server log

Current Parameter Settings:

config = 'coxbob.ovpn'

mode = 0

proto = 1

local = '192.168.1.2'

remote_list = NULL

remote_random = DISABLED

local_port = 443

remote_port = 443

remote_float = DISABLED

ipchange = '[UNDEF]'

bind_defined = DISABLED

bind_local = ENABLED

dev = 'tun'

ifconfig_local = '192.168.200.2'

ifconfig_remote_netmask = '192.168.200.1'

ifconfig_noexec = DISABLED

persist_tun = ENABLED

persist_local_ip = DISABLED

persist_remote_ip = DISABLED

persist_key = ENABLED

mssfix = 1450

resolve_retry_seconds = 1000000000

connect_retry_seconds = 5

verbosity = 4

sockflags = 0

socks_proxy_server = '[UNDEF]'

lzo = 0

route_script = '[UNDEF]'

route_default_gateway = '[UNDEF]'

route_noexec = DISABLED

route_delay = 0

route_delay_window = 30

route_delay_defined = ENABLED

route_nopull = DISABLED

management_addr = '[UNDEF]'

management_port = 0

shared_secret_file = 'secret.key'

key_direction = 0

ciphername_defined = ENABLED

ciphername = 'BF-CBC'

authname_defined = ENABLED

authname = 'SHA1'

server_network = 0.0.0.0

server_netmask = 0.0.0.0

server_bridge_ip = 0.0.0.0

server_bridge_netmask = 0.0.0.0

server_bridge_pool_start = 0.0.0.0

server_bridge_pool_end = 0.0.0.0

push_list = 'route 192.168.1.0 255.255.255.0,dhcp-option WINS 192.168.1.1'

push_ifconfig_defined = DISABLED

push_ifconfig_local = 0.0.0.0

push_ifconfig_remote_netmask = 0.0.0.0

duplicate_cn = DISABLED

client = DISABLED

pull = DISABLED

ip_win32_defined = DISABLED

ip_win32_type = 3

dhcp_masq_offset = 0

dhcp_lease_time = 31536000

tap_sleep = 0

dhcp_options = DISABLED

dhcp_renew = DISABLED

dhcp_pre_release = DISABLED

dhcp_release = DISABLED

domain = '[UNDEF]'

netbios_scope = '[UNDEF]'

netbios_node_type = 0

isable_nbt = DISABLED

OpenVPN 2.1_beta7 Win32-MinGW [SSL] [LZO2] built on Nov 12 2005

TAP-WIN32 device [auto] opened: \\.\Global\{D367F735-1532-487E-A664-C9D90E11861C}.tap

TAP-Win32 Driver Version 8.3

TAP-Win32 MTU=1500

Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.200.2/255.255.255.252 on interface {D367F735-1532-487E-A664-C9D90E11861C} [DHCP-serv: 192.168.200.1, lease-time: 31536000]

Successful ARP Flush on interface [3] {D367F735-1532-487E-A664-C9D90E11861C}

Data Channel MTU parms [ L:1546 D:1450 EF:46 EB:4 ET:0 EL:0 ]

Local Options String: 'V4,dev-type tun,link-mtu 1546,tun-mtu 1500,proto TCPv4_SERVER,ifconfig 192.168.200.1 192.168.200.2,cipher BF-CBC,auth SHA1,keysize 128,secret'

Expected Remote Options String: 'V4,dev-type tun,link-mtu 1546,tun-mtu 1500,proto TCPv4_CLIENT,ifconfig 192.168.200.2 192.168.200.1,cipher BF-CBC,auth SHA1,keysize 128,secret'

Local Options hash (VER=V4): 'e2353fc3'

Expected Remote Options hash (VER=V4): '808a9481'

Listening for incoming TCP connection on 192.168.1.2:443

TCP connection established with 80.125.XXX.XXX:16173

Socket Buffers: R=[8192->8192] S=[8192->8192]

TCPv4_SERVER link local (bound): 192.168.1.2:443

TCPv4_SERVER link remote: 80.125.XXX.XXX:16173

Peer Connection Initiated with 80.125.XXX.XXX:16173

TEST ROUTES: 0/0 succeeded len=-1 ret=1 a=0 u/d=up

Initialization Sequence Completed

and client log :

Current Parameter Settings:

config = '\carte de stockage\Program Files\OpenVPN\config\smartphone.ovpn'

proto = 2

local = '[UNDEF]'

remote_list[0] = {'82.227.XXX.XXX', 443}

remote_random = DISABLED

local_port = 0

remote_port = 443

remote_float = DISABLED

ipchange = '[UNDEF]'

bind_defined = DISABLED

bind_local = DISABLED

dev = 'tun'

dev_type = '[UNDEF]'

dev_node = '[UNDEF]'

lladdr = '[UNDEF]'

topology = 1

tun_ipv6 = DISABLED

ifconfig_local = '192.168.200.1'

ifconfig_remote_netmask = '192.168.200.2'

ifconfig_noexec = DISABLED

ifconfig_nowarn = DISABLED

persist_tun = ENABLED

persist_local_ip = DISABLED

persist_remote_ip = DISABLED

persist_key = ENABLED

mssfix = 1450

verbosity = 4

BEGIN http_proxy

server = '195.115.XXX.XXX'

port = 8080

auth_method_string = 'none'

auth_file = '[UNDEF]'

retry = ENABLED

timeout = 5

http_version = '1.0'

user_agent = '[UNDEF]'

END http_proxy

route_default_gateway = '[UNDEF]'

route_default_metric = 0

route_noexec = DISABLED

route_delay = 5

route_delay_window = 30

route_delay_defined = ENABLED

route_nopull = DISABLED

[redirect_default_gateway local=0]

route 192.168.1.0/255.255.255.0/nil/nil

management_addr = '127.0.0.1'

management_port = 10000

shared_secret_file = '\Carte de stockage\Program Files\OpenVPN\config\secret.key'

server_network = 0.0.0.0

server_netmask = 0.0.0.0

erver_bridge_ip = 0.0.0.0

server_bridge_netmask = 0.0.0.0

server_bridge_pool_start = 0.0.0.0

server_bridge_pool_end = 0.0.0.0

ifconfig_pool_defined = DISABLED

ifconfig_pool_start = 0.0.0.0

ifconfig_pool_end = 0.0.0.0

ifconfig_pool_netmask = 0.0.0.0

ifconfig_pool_persist_filename = '[UNDEF]'

ifconfig_pool_persist_refresh_freq = 600

n_bcast_buf = 256

tcp_queue_limit = 64

push_ifconfig_local = 0.0.0.0

push_ifconfig_remote_netmask = 0.0.0.0

enable_c2c = DISABLED

duplicate_cn = DISABLED

show_net_up = DISABLED

route_method = 0

ip_win32_defined = DISABLED

ip_win32_type = 3

dhcp_masq_offset = 0

dhcp_lease_time = 31536000

tap_sleep = 0

dhcp_options = DISABLED

dhcp_renew = DISABLED

dhcp_pre_release = DISABLED

dhcp_release = DISABLED

domain = '[UNDEF]'

netbios_scope = '[UNDEF]'

netbios_node_type = 0

disable_nbt = DISABLED

conn_mgr_guid = {F750E26F-81D9-4379-8567-318C129CA736}

conn_mgr_exclusive = ENABLED

OpenVPN 2.1_rc7a Win32-MSVC++ [SSL] [LZO2] built on Feb 10 2008

MANAGEMENT: TCP Socket listening on 127.0.0.1:10000

Need hold release from management interface, waiting...

MANAGEMENT: Client connected from 127.0.0.1:10000

Using Windows Connection Manager...

Formatting Windows Connection Manager GUID...

Using Windows Connection Manager with destination '{F750E26F-81D9-4379-8567-318C129CA736}' resolving to provider guid {F750E26F-81D9-4379-8567-318C129CA736} (exclusive)

Acquisition of Windows Connection Manager provider succeeded...

MANAGEMENT: >STATE:1211621833,ASSIGN_IP,,192.168.200.1,

TAP-WIN32 device [TAP1:] opened: TAP1:

TAP-Win32 Driver Version 9.4

TAP-Win32 MTU=1500

Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.200.1/255.255.255.252 on interface TAP1: [DHCP-serv: 192.168.200.2, lease-time: 31536000]

Successful ARP Flush on interface [3] TAP DEVICE 1

Data Channel MTU parms [ L:1546 D:1450 EF:46 EB:4 ET:0 EL:0 ]

Local Options String: 'V4,dev-type tun,link-mtu 1546,tun-mtu 1500,proto TCPv4_CLIENT,ifconfig 192.168.200.2 192.168.200.1,cipher BF-CBC,auth SHA1,keysize 128,secret'

Expected Remote Options String: 'V4,dev-type tun,link-mtu 1546,tun-mtu 1500,proto TCPv4_SERVER,ifconfig 192.168.200.1 192.168.200.2,cipher BF-CBC,auth SHA1,keysize 128,secret'

Local Options hash (VER=V4): '808a9481'

Expected Remote Options hash (VER=V4): 'e2353fc3'

Attempting to establish TCP connection with 195.115.XXX.XXX:8080

MANAGEMENT: >STATE:1211621834,TCP_CONNECT,,,

TCP connection established with 195.115.XXX.XXX:8080

Send to HTTP proxy: 'CONNECT 82.227.XXX.XXX:443 HTTP/1.0'

HTTP proxy returned: 'HTTP/1.0 200 Connection established'

Socket Buffers: R=[32768->32768] S=[16384->16384]

TCPv4_CLIENT link local (bound): [undef]

TCPv4_CLIENT link remote: 195.115.XXX.XXX:8080

Peer Connection Initiated with 195.115.XXX.XXX:8080

TEST ROUTES: 2/2 succeeded len=1 ret=1 a=0 u/d=up

route ADD 195.115.XXX.XXX MASK 255.255.255.255 10.37.39.40

ROUTE: route addition failed using CreateIpForwardEntry: Paramètre incorrect. [stat87 if_index=655364]

Route addition via IPAPI failed [adaptive]

Route addition fallback to route.exe

route ADD 0.0.0.0 MASK 128.0.0.0 192.168.200.2

Route addition via IPAPI succeeded [adaptive]

route ADD 128.0.0.0 MASK 128.0.0.0 192.168.200.2

Route addition via IPAPI succeeded [adaptive]

MANAGEMENT: >STATE:1211621855,ADD_ROUTES,,,

route ADD 192.168.1.0 MASK 255.255.255.0 192.168.200.2

Route addition via IPAPI succeeded [adaptive]

Initialization Sequence Completed

MANAGEMENT: >STATE:1211621855,CONNECTED,SUCCESS,192.168.200.1,195.115.XXX.XXX

So ,to be 'short', I think I must enter something (DNS,WINS or maybe IP) in my Kaiser's Tap adress , or maybe add some route in my Windows command(server)

Thanks to help me ,if all works ,I'll upload my conf files for those who wants to use it after.