HELLLOOOO,
On WHP 300N , using the professional DD-WRT config, how can I block an outbound LAN to WAN port range like 444-65535 ??/
I tried but have not been able to configure it for this need. Is there a proprietary code in the professional software that disallows this ??
Still need help here !!
As far as i know i don't remember seeing anything that has to do with port blocking on the UI in the routers. You have to do commands to do port blocking.
The command you will do is "iptables -I FORWARD 1 -p tcp --dport 444:65535 -j DROP"
Reference:
http://www.dd-wrt.com/wiki/index.php/Port_Blocking
Quote from: joma90 on October 27, 2013, 08:58:31 PM
As far as i know i don't remember seeing anything that has to do with port blocking on the UI in the routers. You have to do commands to do port blocking.
The command you will do is "iptables -I FORWARD 1 -p tcp --dport 444:65535 -j DROP"
Reference:
http://www.dd-wrt.com/wiki/index.php/Port_Blocking
Thanks so much for the response. A couple of questions come up.
1) Instead of FORWARD, could OUTPUT be used ?
2) Instead of --dport, could --sport be used ? Since the ports I seek to block are LAN to WAN.
3) If wanting to drop a range of udp ports say 444:65535; would the comand be;
iptables -I FORWARD 2 -p udp --dport 444:65535 -j DROP ?
Thats a question i wouldn't be able to answer as i am not that technical in DD-WRT. I would post on the DD-WRT forum that question. Gui wise i can help you. command wise i wont be much help.
Browser ID: smf
(is_webkit)
Templates: 1:
Printpage (default).
Sub templates: 4:
init,
print_above,
main,
print_below.
Language files: 1:
index+Modifications.english (default).
Style sheets: 0:
.
Hooks called: 65 (
showintegrate_autoload, integrate_pre_load, integrate_load_session, integrate_verify_user, integrate_pre_load_theme, integrate_user_info, integrate_load_board, integrate_board_info, integrate_pre_load_theme, integrate_allowed_to_general, integrate_simple_actions, integrate_allowed_to_general, integrate_load_theme, integrate_pre_log_stats, integrate_actions, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_codes, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_word_censor, integrate_word_censor, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_smileys, integrate_smileys, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_smileys, integrate_smileys, integrate_post_parsebbc, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_menu_buttons, integrate_current_action, integrate_theme_context, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general)
Files included: 27 - 1055KB. (
show./index.php, ./Settings.php, (Cache)/db_last_error.php, (Sources)/QueryString.php, (Sources)/Subs.php, (Sources)/Subs-Auth.php, (Sources)/Errors.php, (Sources)/Load.php, (Sources)/Security.php, (Sources)/Subs-Compat.php, (Sources)/Subs-Db-mysql.php, (Sources)/Cache/CacheApi.php, (Sources)/Cache/CacheApiInterface.php, (Sources)/StopForumSpam.php, (Sources)/Subs-Charset.php, (Sources)/Unicode/Metadata.php, (Sources)/Unicode/QuickCheck.php, (Sources)/Session.php, (Sources)/Logging.php, (Sources)/Class-BrowserDetect.php, (Sources)/Unicode/RegularExpressions.php, (Sources)/Unicode/CaseUpper.php, (Sources)/Unicode/CaseTitle.php, (Current Theme)/languages/index.english.php, (Current Theme)/languages/Modifications.english.php, (Sources)/Printpage.php, (Current Theme)/Printpage.template.php)
Memory used: 733KB.
Tokens:
post-login.
Queries used: 10.
[Show Queries]