1
1
Proxy Server, Network Address Translator, Firewall
2
Proxy Server, Network Address Translator, Firewall 1 Proxy Server - - PDF document
Proxy Server, Network Address Translator, Firewall 1 Proxy Server 2 1 Introduction What is a proxy server? Acts on behalf of other clients, and presents requests from other clients to a server. Acts as a server while talking with
1
2
3
4
5
6
7
8
9
10
11
12
H1
private address: 10.0.1.2 public address: 128.143.71.21
H5 Private network Internet
Source = 10.0.1.2 Destination = 213.168.112.3 Source = 128.143.71.21 Destination = 213.168.112.3 public address: 213.168.112.3
NAT device
Source = 213.168.112.3 Destination = 128.143.71.21 Source = 213.168.112.3 Destination = 10.0.1.2 Private Address Public Address 10.0.1.2 128.143.71.21
13
N registered addresses for N machines.
From a given pool of registered IP addresses.
Any number of internal computers. A limit N to the number communicating at a time.
14
15
Source IP address (32 bit) Source port number (16 bit) Destination IP address (32 bit) Destination port number (16 bit)
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
H1
private address: 10.0.1.2 public address: 128.143.71.21 128.195.4.120 Source = 10.0.1.2 Destination = 213.168.112.3
NAT device
Private Address Public Address 10.0.1.2 128.143.71.21 128.195.4.120 128.143.71.21 128.195.4.120 Source = 128.143.71.21 Destination = 213.168.112.3 Source = 128.195.4.120 Destination = 213.168.112.3
ISP 2 allocates address block 128.195.4.0/24 to private network: Private network ISP 1 allocates address block 128.143.71.0/24 to private network:
31
32
H1
private address: 10.0.1.2
Private network
Source = 10.0.1.2 Source port = 2001 Source = 128.143.71.21 Source port = 2100
NAT device
Private Address Public Address 10.0.1.2/2001 128.143.71.21/2100 10.0.1.3/3020 128.143.71.21/4444
H2
private address: 10.0.1.3 Source = 10.0.1.3 Source port = 3020
Internet
Source = 128.143.71.21 Destination = 4444 128.143.71.21
33
Balance the load on a set of identical servers, which are accessible from a single IP address.
Here, the servers are assigned private addresses. NAT device acts as a proxy for requests to the server from the public network. The NAT device changes the destination IP address of arriving packets to one of the private addresses for a server. A sensible strategy for balancing the load of the servers is to assign the addresses of the servers in a round-robin fashion.
34
Private network
Source = 213.168.12.3 Destination = 128.143.71.21
NAT device
Private Address Public Address 10.0.1.2 128.143.71.21 Inside network 10.0.1.4 128.143.71.21
Internet
128.143.71.21
S1 S2 S3
10.0.1.4 10.0.1.3 10.0.1.2 S
r c e = 1 2 8 . 1 9 5 . 4 . 1 2 D e s t i n a t i
= 1 . . 1 . 2 Public Address 128.195.4.120 Outside network 213.168.12.3 Source = 128.195.4.120 Destination = 128.143.71.21 Source = 128.195.4.120 Destination = 10.0.1.4
35
36
37
38
39
40
41
42
43
44 INTERNET
PRIVATE NETWORK
Packet Filtering router
45
46
Typically based on IP addresses and port numbers.
47
48
TELNET FTP SMTP HTTP
Application Level Gateway
Outside connection Inside connection Outside Host Inside Host
49
50
51
sets up two TCP connections.
segments from one connection to the other without examining the contents. Out
Circuit Level Gateway
Outside connection Inside connection Outside Host Inside Host Out Out In In In
52
53
54
55
56
Internet
57
58
59
60
61
Internet
Private Network
Modem
62
63
Distribution 6506 Foundation CORE 6509 2948 2948 3524 Foundation CORE 6509 Foundation CORE 6509 5500 BSNL ROUTER
2Mbps Link
4000 7507 ROUTER SINGTEL GATEWAY
PIX PIX
8 Mbps Link
64
Foundation CORE 6509 Foundation CORE 6509 Foundation CORE 6509 BSNL ROUTER 7507 ROUTER
INTERNET
Existing L3 switch
Mail server File server Local DNS server
VLAN VLAN VLAN L3 switch
Mail Relay Web server SMTP AV Gateway
L2 switch
Security management softwares User Zone AV AV AV DMZ Zone Security Management Zone Zone of Locally Accessed Servers
New Server Zone firewall
L2 switch L2 switch
Existing Firewall New NIDS
L2 switch
Core Switches with Core IDS New Perimeter firewall