Turn off DMZ using the Command Line Interface

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
jangeador
DD-WRT Novice


Joined: 09 Dec 2010
Posts: 2

PostPosted: Thu Dec 09, 2010 18:38    Post subject: Turn off DMZ using the Command Line Interface Reply with quote
Good Morning,

Is there a way to use the command line interface to turn off the DMZ feature. I am currently at a remote site with access to SSH command line and I need to know if there are commands to do this. I do not have access to the web interface.

I am using DD-WRT 2.4.

Thanks,

jangeador
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10143

PostPosted: Thu Dec 09, 2010 20:19    Post subject: Reply with quote
If you have SSH access then you can use SSH tunneling to access the router's GUI as long as you have a browser which you do since you're posting here. Here's a crash course in dynamic tunneling:

http://www.dd-wrt.com/wiki/index.php/Easy_SSH_tunnels

If you want/need to avoid using it as a socks proxy then you can use remote forwarding to forward port 8080 to 127.0.0.1:80 (router's port 80) and then go to 127.0.0.1:8080 (PC's port 8080) in your browser to get tunneled to the router.

Otherwise you'll have to learn iptables or change the nvram variables and restart the firewall service...

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
jangeador
DD-WRT Novice


Joined: 09 Dec 2010
Posts: 2

PostPosted: Thu Dec 09, 2010 21:30    Post subject: Reply with quote
Thanks a lot phuzi0n, this was great information. I am not familiar with iptables or nvram so I appreciate you taking into account my noobiness.

One more thing, your answer solved both of my problems, the one I caused by enabling DMZ, and the original problem which was how to access a web server at home without making it public, and without the use of the VPN server.

Much obliged sir.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
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
You cannot attach files in this forum
You cannot download files in this forum