...
>
>главное конфиги клиента и сервера покажи.. в слепую ничего не скажу...
Struktura tunelinga sledujushaja: Server spriatan za bridgom i imeet vneshnij ip 80.X.X.X; Home - eto PC s vnutrennim adresom vyhodiashij v inet cerez router.
Vot config "home":
static-home.conf
dev tun
remote 80.X.X.X
ifconfig 10.1.0.2 10.1.0.1
up ./home.up
secret static.key
port 5000
; user nobody #poka zakomentil
; group nobody
comp-lzo
; ping 15
; ping-restart 45
; ping-timer-rem
; persist-tun
; persist-key
verb 9
Vot config servera:
static-office.conf
dev tun
ifconfig 10.1.0.1 10.1.0.2
up ./office.up
secret static.key
port 5000
; user nobody
; group nobody
comp-lzo
; ping 15
; ping-restart 45
; ping-timer-rem
; persist-tun
; persist-key
verb 9
home.up i office.up ja podredaktiroval.
Vot home.up
#!/bin/bash
route add -net 10.1.0.0 netmask 255.255.255.0 gw $5
Vot #!/bin/bash
route add -net 10.1.0.0 netmask 255.255.255.0 gw $5