Skip to content

Instantly share code, notes, and snippets.

@that0n3guy
Created March 24, 2014 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save that0n3guy/9747291 to your computer and use it in GitHub Desktop.
Save that0n3guy/9747291 to your computer and use it in GitHub Desktop.
openvpn no internet Nyr script 2
C:\Users\polson>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : polson-THINK
Primary Dns Suffix . . . . . . . : oca-domain.lan
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : oca-domain.lan
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-81-83-CA-6A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::3525:aa30:b766:a69d%31(Preferred)
IPv4 Address. . . . . . . . . . . : 10.8.0.6(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : Monday, March 24, 2014 2:24:36 PM
Lease Expires . . . . . . . . . . : Tuesday, March 24, 2015 2:24:36 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.8.0.5
DHCPv6 IAID . . . . . . . . . . . : 520159105
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-0D-15-CC-CC-52-AF-4A-8A-6C
DNS Servers . . . . . . . . . . . : 129.250.35.250
74.82.42.42
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 00-02-72-C3-DE-0B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
Physical Address. . . . . . . . . : CC-52-AF-4A-8A-6C
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::49d9:ac4b:26ce:c6ad%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.111.195(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, March 24, 2014 11:54:42 AM
Lease Expires . . . . . . . . . . : Tuesday, March 25, 2014 11:54:42 AM
Default Gateway . . . . . . . . . : 192.168.111.1
DHCP Server . . . . . . . . . . . : 192.168.111.1
DHCPv6 IAID . . . . . . . . . . . : 248271535
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-0D-15-CC-CC-52-AF-4A-8A-6C
DNS Servers . . . . . . . . . . . : 192.168.111.4
192.168.111.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-D8-5A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::f9ce:fa9f:19cf:fefd%15(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 336068647
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-0D-15-CC-CC-52-AF-4A-8A-6C
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Hamachi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hamachi Network Interface
Physical Address. . . . . . . . . : 7A-79-19-DA-E4-FB
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2620:9b::19da:e4fb(Preferred)
Link-local IPv6 Address . . . . . : fe80::9ba:aa06:b002:64e1%17(Preferred)
IPv4 Address. . . . . . . . . . . : 25.218.228.251(Preferred)
Subnet Mask . . . . . . . . . . . : 255.0.0.0
Lease Obtained. . . . . . . . . . : Monday, March 24, 2014 11:54:38 AM
Lease Expires . . . . . . . . . . : Tuesday, March 24, 2015 11:56:50 AM
Default Gateway . . . . . . . . . : 2620:9b::1900:1
25.0.0.1
DHCP Server . . . . . . . . . . . : 25.0.0.1
DHCPv6 IAID . . . . . . . . . . . : 494565773
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-0D-15-CC-CC-52-AF-4A-8A-6C
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{B3543D22-EBC0-4FF7-BCD2-37221AB55FF9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 9:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{402D8CC8-376B-43AD-9B6A-8843DB48DA5A}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{8183CA6A-FAF5-4FDA-B773-D8264717FD82}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 6TO4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{88DE6A68-39D7-4771-835F-1D008A88D2DC}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{5D223800-A36E-4E6F-B853-EAD3AA8A76E9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #6
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
C:\Users\polson>
C:\Users\polson>
C:\Users\polson>
C:\Users\polson>
C:\Users\polson>route print
===========================================================================
Interface List
31...00 ff 81 83 ca 6a ......TAP-Windows Adapter V9
28...00 02 72 c3 de 0b ......Bluetooth Device (Personal Area Network)
11...cc 52 af 4a 8a 6c ......Intel(R) 82579LM Gigabit Network Connection
15...08 00 27 00 d8 5a ......VirtualBox Host-Only Ethernet Adapter
17...7a 79 19 da e4 fb ......Hamachi Network Interface
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
24...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
19...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
30...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 25.0.0.1 25.218.228.251 9256
0.0.0.0 0.0.0.0 192.168.111.1 192.168.111.195 10
0.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 30
10.8.0.1 255.255.255.255 10.8.0.5 10.8.0.6 30
10.8.0.4 255.255.255.252 On-link 10.8.0.6 286
10.8.0.6 255.255.255.255 On-link 10.8.0.6 286
10.8.0.7 255.255.255.255 On-link 10.8.0.6 286
25.0.0.0 255.0.0.0 On-link 25.218.228.251 9256
25.218.228.251 255.255.255.255 On-link 25.218.228.251 9256
25.255.255.255 255.255.255.255 On-link 25.218.228.251 9256
72.196.3.30 255.255.255.255 192.168.111.1 192.168.111.195 10
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
128.0.0.0 128.0.0.0 10.8.0.5 10.8.0.6 30
192.168.56.0 255.255.255.0 On-link 192.168.56.1 276
192.168.56.1 255.255.255.255 On-link 192.168.56.1 276
192.168.56.255 255.255.255.255 On-link 192.168.56.1 276
192.168.111.0 255.255.255.0 On-link 192.168.111.195 266
192.168.111.1 255.255.255.255 192.168.111.1 192.168.111.195 10
192.168.111.195 255.255.255.255 On-link 192.168.111.195 266
192.168.111.255 255.255.255.255 On-link 192.168.111.195 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.56.1 276
224.0.0.0 240.0.0.0 On-link 192.168.111.195 266
224.0.0.0 240.0.0.0 On-link 25.218.228.251 9256
224.0.0.0 240.0.0.0 On-link 10.8.0.6 286
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.56.1 276
255.255.255.255 255.255.255.255 On-link 192.168.111.195 266
255.255.255.255 255.255.255.255 On-link 25.218.228.251 9256
255.255.255.255 255.255.255.255 On-link 10.8.0.6 286
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 25.0.0.1 Default
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
17 9020 ::/0 2620:9b::1900:1
1 306 ::1/128 On-link
17 276 2620:9b::/96 On-link
17 276 2620:9b::19da:e4fb/128 On-link
15 276 fe80::/64 On-link
11 266 fe80::/64 On-link
17 276 fe80::/64 On-link
31 286 fe80::/64 On-link
17 276 fe80::9ba:aa06:b002:64e1/128
On-link
31 286 fe80::3525:aa30:b766:a69d/128
On-link
11 266 fe80::49d9:ac4b:26ce:c6ad/128
On-link
15 276 fe80::f9ce:fa9f:19cf:fefd/128
On-link
1 306 ff00::/8 On-link
15 276 ff00::/8 On-link
11 266 ff00::/8 On-link
17 276 ff00::/8 On-link
31 286 ff00::/8 On-link
===========================================================================
Persistent Routes:
If Metric Network Destination Gateway
0 4294967295 2620:9b::/96 On-link
0 9000 ::/0 2620:9b::1900:1
===========================================================================
C:\Users\polson>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment