Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Efficient » Configuring firewall Efficient Network 5835 DMT Router
Search Topic:
Uniqs:
438
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
« Siemens SpeedStream 4200 FirmWare UpGrades  
AuthorAll Replies


Ed

@xs4all.nl

 Configuring firewall Efficient Network 5835 DMT Router

Hi,

We are using aSiemens Efficient Network 5835 DMT Router.

Ik want to configure the firewall to block incoming DNS traffic, all other traffic may go trough because there is a Sonicwall firewall behind this router.

If there is an other way to stop DNS relay on this router that solution is welcom.

Traffic that needs to pass through is:
SMTP
HTTP
HTTPS
RDP
PPTP
NTP
TCP port 587

Will this script work?

# Firewall script - 2/28/2003
# For DSL router

#flush all existing filters
remote ipfilter flush input internet
remote ipfilter flush output internet
remote ipfilter flush transmit internet
remote ipfilter flush receive internet
eth ip filter flush input
eth ip filter flush output
eth ip filter flush transmit
eth ip filter flush receive

Firewall allow –a http –d both
Firewall allow –a dns –d out
Firewall allow –a https –d both
Firewall allow –a smtp –d both
Firewall allow –a pptp –d both
Firewall allow –a tcp –d both
Firewall allow –a rdp –d both
Firewall allow –a ntp –d both
Firewall allow –p tcp –dp 587 –d out
Firewall allow –p tcp –dp 587 –d in
Firewall allow –p tcp –sp 587 –d out
Firewall allow –p tcp –sp 587 –d in

#allow all icmp to and from the router
remote ipfilter insert input accept -p icmp internet remote ipfilter insert output accept -p icmp internet

#drop all packets not allowed above
remote ipfilter append input drop internet remote ipfilter append output drop internet

system deltelnetfilter LAN ??what is this command for??
system delhttpfilter LAN ??what is this command for??
system delsnmpfilter LAN ??what is this command for??
system delsyslogfilter LAN ??what is this command for??
system securemode set wan trusted ??what is this command for??

env set security min ??what is this command for??

Save


adsldude
always learning
Premium,Ex-Mod 2003-9
join:2000-11-10
Colorado
If DNS is all you want to impact then focus on just that.

firewall on
firewall deny -p udp -dp 53 -q -d both
save
-
Forums » Equipment Support » Hardware By Brand » Efficient« Siemens SpeedStream 4200 FirmWare UpGrades  


Tuesday, 10-Nov 14:27:50 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [92] Moto Sold About 100,000 Droids
· [91] Verizon Keeps Swinging At AT&T
· [86] VoIP Over 3G Still Not Working For iPhone
· [47] Government Will Release Some Telco Wiretap Lobbying Documents
· [34] Bill Would Force ISPs To Block Financial Scams
· [24] Mediacom Hints At 50, 100 Mbps Speeds
· [17] Clearwire To Get Another $1.5 Billion
· [15] Sprint Announces Job Cuts
· [13] Google Offers Free Holiday Airport Wi-Fi
· [13] Verizon's Hanging Up On Rural America
Most people now reading
· Google Has Acquired Gizmo5 [VOIP Tech Chat]
· House inspector failed to find major gas leak [Home Repair & Improvement]
· A fishy CRTC tarriff filed by bell? [TekSavvy]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Microsoft Security Bulletin(s) for November 10, 2009 [Security]
· More MLPPP goodness [TekSavvy]
· This is why people use gearscore to make groups [World of Warcraft]
· I miss trash... [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Slow speed lately? [TekSavvy]