Using Windows Server 2012 Standard.
I have configured VPN and NAT so that I can access the internet through the server.
NAT works just fine until I add an address pool for multiple public addresses. Then it doesn't translate the addresses. I can see the counter on "rejected" increasing.
server has 1 NIC
i have reconfigured everything, multiple times, in many ways and the address pool always breaks the NAT routing. WHY?
My ipconfig /all (I removed parts of ips for privacy):
Windows IP ConfigurationHost Name . . . . . . . . . . . . : scrappy
Primary Dns Suffix . . . . . . . : domain.pl
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : domain.pl
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
Physical Address. . . . . . . . . : E0-69-95-D8-60-F2
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::a5f6:796a:e205:de37%12(Preferred)
IPv4 Address. . . . . . . . . . . : zzz.z.223.122(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
IPv4 Address. . . . . . . . . . . : yyy.yy.17.223(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
IPv4 Address. . . . . . . . . . . : yyy.yy.17.225(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
IPv4 Address. . . . . . . . . . . : yyy.yy.26.198(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : yyy.yy.26.254
DNS Servers . . . . . . . . . . . : 213.186.33.99
NetBIOS over Tcpip. . . . . . . . : Enabled
PPP adapter RAS (Dial In) Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : RAS (Dial In) Interface
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{663F3011-3AD7-4CEC-BAC0-C66A994BA2CE}:
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* 11:
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
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:14c1:2c12:3fa0:e539(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::14c1:2c12:3fa0:e539%14(Preferred)
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter 6TO4 Adapter:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2002:8e04:df7a::8e04:df7a(Preferred)
IPv6 Address. . . . . . . . . . . : 2002:c05f:11df::c05f:11df(Preferred)
IPv6 Address. . . . . . . . . . . : 2002:c05f:11e1::c05f:11e1(Preferred)
IPv6 Address. . . . . . . . . . . : 2002:c05f:1ac6::c05f:1ac6(Preferred)
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 213.186.33.99
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{6E06F030-7526-11D2-BAF4-00600815A4BD}:
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
My route print:
===========================================================================Interface List
12...e0 69 95 d8 60 f2 ......Realtek PCIe FE Family Controller
22...........................RAS (Dial In) Interface
1...........................Software Loopback Interface 1
13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
14...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
15...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 yyy.yy.26.254 zzz.z.223.122 21
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
zzz.z.223.122 255.255.255.255 On-link zzz.z.223.122 276
yyy.yy.17.223 255.255.255.255 On-link zzz.z.223.122 276
yyy.yy.17.225 255.255.255.255 On-link zzz.z.223.122 276
yyy.yy.26.0 255.255.255.0 On-link zzz.z.223.122 276
yyy.yy.26.198 255.255.255.255 On-link zzz.z.223.122 276
yyy.yy.26.255 255.255.255.255 On-link zzz.z.223.122 276
192.168.0.100 255.255.255.255 On-link 192.168.0.100 291
192.168.0.105 255.255.255.255 192.168.0.105 192.168.0.100 36
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 zzz.z.223.122 276
224.0.0.0 240.0.0.0 On-link 192.168.0.100 291
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 zzz.z.223.122 276
255.255.255.255 255.255.255.255 On-link 192.168.0.100 291
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 yyy.yy.26.254 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
14 306 2001::/32 On-link
14 306 2001:0:9d38:6ab8:14c1:2c12:3fa0:e539/128
On-link
15 1025 2002::/16 On-link
15 281 2002:8e04:df7a::8e04:df7a/128
On-link
15 281 2002:c05f:11df::c05f:11df/128
On-link
15 281 2002:c05f:11e1::c05f:11e1/128
On-link
15 281 2002:c05f:1ac6::c05f:1ac6/128
On-link
12 276 2607:5300:60:2a00::/56 On-link
12 276 fe80::/64 On-link
14 306 fe80::/64 On-link
14 306 fe80::14c1:2c12:3fa0:e539/128
On-link
12 276 fe80::a5f6:796a:e205:de37/128
On-link
1 306 ff00::/8 On-link
14 306 ff00::/8 On-link
12 276 ff00::/8 On-link
===========================================================================
Persistent Routes:
None