NAT & VPN

  • Published on
    23-Feb-2016

  • View
    100

  • Download
    2

Embed Size (px)

DESCRIPTION

NAT & VPN. 2013-05-06. . Routing InterVLAN Routing Static Routing LAB & NAT NAT NAT LAB PPTP VPN PPTP VPN PPTP VPN LAB . InterVLAN Routing. Trunk. Trunk. VLAN11:192.168.1.254 VLAN12:192.168.2.254 VLAN13:192.168.3.254. VLAN 11. VLAN 11. VLAN 13. - PowerPoint PPT Presentation

Transcript

1

LAB-Host Only

LABLABVirtual Box(Host Only 2)Host OnlyDHCPHost Only 1 IP192.168.56.1/24Host Only 2IP InterVLAN Routing

VLAN 11VLAN 12VLAN 13

VLAN 11VLAN 12VLAN 13Trunk

TrunkVLAN11:192.168.1.254VLAN12:192.168.2.254VLAN13:192.168.3.254

192.168.1.1Gw:192.168.1.254192.168.2.1Gw:192.168.2.254192.168.3.1Gw:192.168.3.254192.168.1.2Gw:192.168.1.254192.168.2.2Gw:192.168.2.254192.168.3.2Gw:192.168.3.254Src IPDest IP192.168.1.1192.168.2.2Src MacDest MacPC A MacVLAN11 MacABCDEFSrc IPDest IP192.168.1.1192.168.2.1Src MacDest MacVLAN 12 MacPC E Mac3Static Routing

VLAN 11VLAN 12

VLAN 1VLAN 2Trunk

Trunk192.168.1.1Gw:192.168.1.254192.168.2.1Gw:192.168.2.25410.1.1.1Gw:10.1.1.25410.1.2.1Gw:10.1.2.254ABCD

ip route 10.1.1.0 255.255.255.0 gw 172.16.1.2ip route 10.1.2.0 255.255.255.0 gw 172.16.1.2172.16.1.1172.16.1.2ip route 192.168.1.0 255.255.255.0 gw 172.16.1.2ip route 192.168.2.0 255.255.255.0 gw 172.16.1.2Pptp vpn -PPTP VPN CLINET SETTING 1

LABReal PCHost Only 1192.168.56.1/24GW:192.168.56.254VM Win XPHost Only 210.1.1.1/24No GatewayVM pfsense

ToXP(em0)10.1.1.254RealPCGW(em1)192.168.56.254

LAB-Host Only

LABLAB-Host OnlyDHCP1

LABLAB-Host OnlyDHCP2

LABLAB-Host OnlyDHCP3

LABNATStatic Routing route add 10.1.1.0 mask 255.255.255.0 192.168.56.254pfSenseNAT pfSenseFirewall Rule ()NAT LABReal PCHost Only 1

192.168.56.1/24GW:192.168.56.254VM Window XPHost Only 2

10.1.1.1/24No GatewayVM pfsense

ToXP(em0)10.1.1.254RealPCGW(em1)192.168.56.254

Source IP192.168.56.1Dest IP10.1.1.1Source IP10.1.1.254Dest IP10.1.1.1

NATNAT- pfSenseNAT

NATNAT- pfSenseNAT

NATNAT- pfSenseFirewall Rule

NATNAT-2

NATNAT-3

NATNAT-4

NATPptp vpn Static Routingroute delete 10.1.1.0pfSensePPTP VPNpfSenseFirewall PPTPRule pfSensePPTP VPN Firewall Rule ()

PPTP VPN LABReal PCHost Only 1

192.168.56.1/24VM Win XPHost Only 2

10.1.1.1/24No GatewayVM pfsense

ToXP(em0)10.1.1.254RealPCGW(em1)192.168.56.254

IP10.1.1.200Pptp vpn - pfSensePPTP VPN

PPTP VPNPptp vpn - pfSensePPTP VPN

PPTP VPNPptp vpn - pfSensePPTP VPN

PPTP VPNPptp vpn - pfSenseFirewall PPTPRule

PPTP VPNPptp vpn - pfSensePPTP VPN Firewall Rule

PPTP VPNPptp vpn -PPTP VPN CLINET SETTING 2

Pptp vpn -PPTP VPN CLINET SETTING 3

Pptp vpn -PPTP VPN CLINET SETTING 4

Pptp vpn -PPTP VPN CLINET SETTING 5

Pptp vpn -PPTP VPN CLINET SETTING 6

Pptp vpn -

Pptp vpn -

Pptp vpn -

Pptp vpn -