Community discussions

MikroTik App
 
pst
just joined
Topic Author
Posts: 4
Joined: Sat Feb 25, 2012 2:48 am

restoring a default for "ip firewall service-port"

Sat Feb 25, 2012 2:52 am

I accidentally added a line to my config:

/ip firewall service port
set pptp ports=1723

This entry doesn't need a "ports=" setting and is now showing as invalid.
/ip firewall service-port> print
Flags: X - disabled, I - invalid 
 #   NAME                                                                 PORTS
 0   ftp                                                                  21   
 1   tftp                                                                 69   
 2   irc                                                                  6667 
 3   h323                                                                
 4   sip                                                                  5060 
                                                                          5061 
 5 I pptp                                                                 0    
I tried setting ports= to 0, that failed. There is no "default" or "remove" command because the item itself can't be removed. I'm at my wits end, unless someone has a backup/restore editor that would let me edit a backup file.

Help?
 
User avatar
skillful
Trainer
Trainer
Posts: 552
Joined: Wed Sep 06, 2006 1:42 pm
Location: Abuja, Nigeria
Contact:

Re: restoring a default for "ip firewall service-port"

Sun Feb 26, 2012 12:02 am

In winbox, double click the pptp icon to pop it up. Then click the up arrow key in the ports settings to delete whatever port you had set.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: restoring a default for "ip firewall service-port"

Mon Feb 27, 2012 12:20 pm

Or from console
/ip firewall service-port set pptp ports=""
 
pst
just joined
Topic Author
Posts: 4
Joined: Sat Feb 25, 2012 2:48 am

Re: restoring a default for "ip firewall service-port"

Tue Feb 28, 2012 12:10 am

Aha, thank you!

Who is online

Users browsing this forum: anav, broderick, GoogleOther [Bot], Philippe57 and 111 guests