Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client
- dev tun
- proto tcp-client
- remote-random
- <connection>
- remote X.X.X.111 5600
- </connection>
- #<connection>
- #remote X.X.X.111 5602
- #</connection>
- tls-auth keys/ta.key 1
- ca keys/ca.crt
- cert keys/client.crt
- key keys/client.key
- ns-cert-type server
- resolv-retry infinite
- nobind
- persist-key
- persist-tun
- reneg-sec 0
- redirect-gateway def1
- keysize 256
- comp-lzo
- verb 1
- log-append log/Triple-PA1.log
- status log/Triple-PA1-status.log
- script-security 2
- auth-nocache
- #auth-user-pass
- auth-user-pass auth
- up scripts/pa1_up
- down scripts/downenter code here
- #scripts/pa1_up
- root@bt:/etc/openvpn/scripts# ps ax |grep 'openvpn'
- 1635 tty1 S 0:00 /usr/local/bin/gopenvpn
- 1638 ? Ss 0:00 /usr/sbin/openvpn --management-query-passwords --cd /etc/openvpn --daemon --management-hold --script-security 2 --management 127.0.0.1 37087 --config /etc/openvpn/Triple_PA1.conf
- 1650 pts/0 S+ 0:00 grep --color=auto openvpn
- #!/bin/sh -e
- mv /etc/resolv.conf /etc/resolv_temp.conf
- echo nameserver X.X.X.249 > /etc/resolv.conf
- exit 0
- eth2 Link encap:Ethernet HWaddr 08:00:27:50:d8:48
- inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
- inet6 addr: fe80::a00:27ff:fe50:d848/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2718 errors:0 dropped:0 overruns:0 frame:0
- TX packets:2284 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:2796888 (2.7 MB) TX bytes:295335 (295.3 KB)
- Interrupt:10 Base address:0xd020
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:91 errors:0 dropped:0 overruns:0 frame:0
- TX packets:91 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:6289 (6.2 KB) TX bytes:6289 (6.2 KB)
- root@bt:/etc/openvpn/scripts# cat /etc/resolv.conf
- nameserver X.X.X.249
- root@bt:/etc/openvpn/scripts# ping X.X.X.249
- PING X.X.X.249 (X.X.X.249) 56(84) bytes of data.
- (freezes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement