Re: Do VPN connections effectively bypass Firewalls?
From: David (davidwnh_at_adelphia.net)
Date: 09/26/03
- Next message: RB: "Kerio newsgroup info wanted"
- Previous message: RB: "Re: Kerio question"
- In reply to: kroesjnov: "Re: Do VPN connections effectively bypass Firewalls?"
- Next in thread: Mailman: "Re: Do VPN connections effectively bypass Firewalls?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 26 Sep 2003 20:46:43 GMT
You need to use a host based firewall installed on the VPN client machine.
Some VPN clients have built in firewalls which are best from the remote
network's point of view because that often allows the network admins to have
administrative control over the configurations. They also work rather
seamlessly compared to standalone host based firewalls. Some standalone
desktop firewalls work with certain types of VPNs; some that do work with
VPN clients allow you to effectively filter the VPN traffic, some don't.
Your example does not show what really happens. The initial packets would
use a source address in the packet header which corresponds to the DHCP
assigned address of your VPN adapter and a dest. address corresponding to
the internal network address of the destination machine at other end. The
vpn client software then takes and encrypts the entire packet including the
headers and adds its own headers which include a source address of your
internet facing adapter and a destination address of the internet facing
adapter on the VPN server. You are not really doing a NAT conversion , you
are encrypting a packet and encapsulating into another.
This would be different if you had your client machine behind a NAT router
or gateway, however the NAT conversion is done on the tunnel traffic
packets headers. Once again different if you are using something like
L2TP/IPSec for the VPN with NAT, because IPSEC adds it own headers which
have NAT issues.
>
> *Let's assume in a simple form that a (unencrypted) TCP/IP packets looks
> like this;
>
> <package>
> Destination IP: 64.236.24.20
> Destination port: 80
> Source IP: 192.168.1.2
> Source Port: 2179
> Payload
> </package>
>
> Where the internal IP would be NAT'd by the firewall
>
> *This is what I thought a VPN would do:
>
> <package>
> Destination IP: 10.0.1.2 (64.236.24.20)
> Source IP: 10.0.1.1 (192.168.1.2)
> <encrypted_payload>
> Encrypted original package
> </encrypted_payload>
> </package>
>
> Although the virtual adapter has a different IP, the normal IP would have
to
> be used to sent and receive the packages.
>
> *Now this is what I understand from your posting:
>
> <package>
> Destination IP: 10.0.1.2 (64.236.24.20)
> Destination port: 80
> Source IP: 10.0.1.1 (192.168.1.2)
> Source Port: 2179
> <encrypted_payload>
> Encrypted original package
> </encrypted_payload>
> </package>
>
> I understand from your story (and here is where I thought differently thus
> far) that the data is actually being send to the very same ports, and not
as
> I thought over a single 'line/connection'. where at the end-points the
data
> packets would be decrypted and only then the source and destination ports
> would be known.
>
> Is this correct?
> If that is so, then I agree with your story that a firewall would still be
> able to block/allow traffic based on ports (logically not on payload,
since
> the payload is encrypted).
> Otherwise I do not see how a firewall would be able to filter
> allowed/blocked packages since the ports will only be present in the
> original package which is encrypted.
>
> As you see I only have basic knowledge on networking and the involved
> encryption techniques, hence I do not know whether I am reading your
posting
> correct or not.
>
- Next message: RB: "Kerio newsgroup info wanted"
- Previous message: RB: "Re: Kerio question"
- In reply to: kroesjnov: "Re: Do VPN connections effectively bypass Firewalls?"
- Next in thread: Mailman: "Re: Do VPN connections effectively bypass Firewalls?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|