Skip to contentSkip to conversation

Packet filtering in OpenVPN

Openvpn-devel Arne Schwabe 3 participants 3 messages Jun 12, 2009 – Jun 15, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I am at the moment looking to integrating packet filtering into OpenVPN. My reason to do so, are the following:

- Windows own Firewall does not work when routing/bridging is used
- I am not aware of a OpenSource Firewall for windows
- Being able to do NAT without the help of the operating system can be very nice

I have not yet looked very much at the code. But I would like to ask if this is a feature which could go into the main OpenVPN release. If I unterstood this correctly the OpenVPN code is currently released under GPL but available under a non GPL license. So newly added code needs to honour this. But BSD licensed code (eg. parts of ipfw2 or pf code) would be okay?

Arne

#1 lore raw
Quoted 11 lines · Arne Schwabe

Hello,

I am at the moment looking to integrating packet filtering into OpenVPN. My
reason to do so, are the following:

- Windows own Firewall does not work when routing/bridging is used
- I am not aware of a OpenSource Firewall for windows
- Being able to do NAT without the help of the operating system can be very
nice

I am not part of the the OpenVPN development team but this sounds like feature creep to me. Why put filewall support into OpenVPN, which is already complicated enough, when you can write a stand-alone firewall?

Karl <[email protected]...>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

#2 lore raw
In reply to Arne Schwabe
Quoted 10 lines · Arne Schwabe

Hello,

I am at the moment looking to integrating packet filtering into OpenVPN. My reason to do so, are the following:

- Windows own Firewall does not work when routing/bridging is used
- I am not aware of a OpenSource Firewall for windows
- Being able to do NAT without the help of the operating system can be very nice

Quoted 5 lines

I have not yet looked very much at the code. But I would like to ask if this is a feature which could go into the main OpenVPN release. If I unterstood this correctly the OpenVPN code is currently released under GPL but available under a non GPL license. So newly added code needs to honour this. But BSD licensed code (eg. parts of ipfw2 or pf code) would be okay?

There is already rudimentary packet filtering code in OpenVPN -- see pf.[ch] in the beta 2.1 branch.

James