Sign up
Vonage Forum Menu
The Vonage Forums
Vonage VoIP Forum
Vonage Forum Archive
Vonage Canada
Vonage UK
Vonage Stock
Fax, Tivo & Alarms
Hard Wiring
Number Transfer
V-Phone & SoftPhone
VoIP Feature Request
Vonage TV Ads
International Rates
Forum Suggestions
Report a Bug
The Cafeteria
Forums Archive
All Vonage News
Vonage In The News
Press Releases
Forum Digest
News Archives
Vonage Sign Up Info
Vonage Features
Vonage Area Codes
Vonage FAQ
Vonage Reviews
VoIP Speed Test
Vonage Toolbar
Network Setup
Wiring & Installation
Vonage 911
Business Account
VoIP Acronyms
VoIP Advertising
Wi-Fi Phone
Contact Support
Member Registration
Member Login
Member List
Your Account
Private Message
Forum Faqs
Recommend Us
Website Feedback
Forum Syndication
Forum Newsletter
Search Using Google
Search Forums
Search News
Forum Speed Dial
Vonage Forum
Forum Community
The Vonage Forums
Vonage VoIP Forum
Forum Archive
Vonage Canada
Vonage UK
Vonage Stock
Fax, Tivo & Alarms
Hard Wiring
Number Transfer
V-Phone & SoftPhone
Feature Request
Vonage On TV
International Rates
Forum Suggestions
Report A Bug
The Cafeteria
All Archives
Vonage News
All Vonage News
In The News
Press Releases
Forum Digest
News Archive
Vonage Information
Sign Up Info
Vonage Features
Area Codes
Vonage FAQ
Vonage Reviews
VoIP Speed Test
Vonage Toolbar
Network Setup
Wiring & Installation
Vonage 911
Business Account
VoIP Acronyms
VoIP Advertising
Wi-Fi Phone
Contact Support
Member Services
Registration
Member Login
Member List
Your Account
Private Messages
Forum Faq's
Recommend Us
Website Feedback
RSS Syndication
Forum Newsletter
Search
Search Using Google
Search Forums
Search News
Vonage Forums
Open/FreeBSD Packet Filter Rules for Vonage
Vonage® VoIP Forum - Vonage News, Reviews And Discussion
»
Vonage Forum Archive
Author
Message
SnydersWeb
New Forum Member
Joined: Jan 07, 2006
Posts: 1
Posted:
Sat Jan 07, 2006 3:55 pm
Post subject: Open/FreeBSD Packet Filter Rules for Vonage
With the help from one of my friends we came up with this - it uses altq to ensure that no matter how much you're uploading that it'll still sound good. THe original had some VPN stuff in here - that an a few other things have been stripped out for simplicity:
# $OpenBSD: pf.conf,v 1.28 2004/04/29 21:03:09 frantzen Exp $
#
# See pf.conf(5) and /usr/share/pf for syntax and examples.
# Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.
ext_if="xl0"
int_if="xl1"
int_net = "<YOUR INTERNAL IP BLOCK>/24"
# Friendly IP Address List
known = "{ <ANY IPs YOU WISH TO HAVE HERE> }"
scrub in
# enable CBQ queueing
altq on $ext_if cbq bandwidth 384Kb queue { q_voice, q_std }
queue q_voice bandwidth 25% priority 7 cbq(borrow)
queue q_std bandwidth 75% priority 1 cbq(default borrow)
nat on $ext_if from !($ext_if) -> ($ext_if:0)
## Block by Default everything
block in log
## Allow
Voip
traffic
pass in quick on $ext_if proto udp from any to any port 5060 keep state
pass out quick on $ext_if proto udp from $ext_if to any port 10000:14000 tos 0xb8 queue q_voice keep state
## Pass out everything w/ Keep state
pass out quick on $ext_if proto { tcp, udp, icmp } all keep state
## Let the Loop interface go about its business
pass quick on { lo $int_if }
antispoof quick for { lo $int_if }
## SSH
pass in on $ext_if proto tcp from $known to ($ext_if) port ssh keep state
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Vonage® VoIP Forum - Vonage News, Reviews And Discussion
»
Vonage Forum Archive
Jump to:
Select a forum
Vonage® VoIP Forums
----------------
Vonage
Vonage Forum Archive
Vonage Canada
Vonage UK
Vonage Stock
Fax - Tivo - Alarms
Hard Wiring - Installation
LNP – Local Number Portability
Vonage V-Phone & SoftPhone
VoIP Feature Wish List
Vonage TV Commercials
International Rates
Forum Suggestions - Open Topics
----------------
The Cafeteria - Any Non Vonage Topic
Forum Suggestions - Comments
Report A Forum Bug
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
All times are GMT - 5 Hours