Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2015, 05:34 AM   #1
LQ Newbie
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
Fliter traffic on a vpn network

Hy there,
i'm using debian linux; i make a vpn server using openvpn; now i have connected 10 clients using ip addresses like; i want to restrict fraffic betwenn vpn clients to allow only remote ports for tightvnc;
I want to drop all traffic and allow only ports 5800 and 5900. Can somebody help me ?

Old 06-12-2015, 03:30 PM   #2
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
Are you using a tun or tap interface for your OpenVPN server? I suppose that doesn't really matter either way you'll use iptables to firewall the traffic, take a look at this


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How is this possible: VPN traffic > eth0 traffic NotAComputerGuy Linux - Networking 1 08-01-2013 12:02 PM
How to use VPN tunnel for all traffic except SMTP (port 25) traffic? maven12 Linux - Networking 2 11-09-2010 06:00 AM
Finding a way to forward traffic to same IP on different network using VPN. TaigaIV Linux - Networking 1 07-10-2008 02:25 PM
Network Traffic Stops After High Traffic windisch Linux - Networking 6 12-17-2007 05:45 PM
redirecting vpn traffic brb5548 Linux - Networking 1 07-01-2003 01:13 PM

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration