Port Forwarding Sourcenet

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
LunchBoxSteve
DD-WRT Novice


Joined: 30 Aug 2019
Posts: 21

PostPosted: Thu Jul 30, 2020 0:50    Post subject: Port Forwarding Sourcenet Reply with quote
With Port forwarding setup and specifying an IP Address in Sourcenet to restrict port forwards to that IP only.

Is it possible to specify a dynamic dns name in that box instead of an IP so that as the IP address of the person I want to restrict access to, changes it would allow them and only them to access the port forward because it resolves their name to their current IP Address?

If not is this something maybe we can update in future builds, it would be quite handy for locking down router port forward access to only authorized folks.

I do this currently in my PFSense router setup using an Alias in the firewall rules that looks at their dynamic dns for their current IP to apply the rule to for various ports I want open for friends to access certain things but not the rest of the world to know exists like my FTP server for example.

Thanks. Smile
Sponsor
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1052

PostPosted: Thu Jul 30, 2020 21:18    Post subject: Reply with quote
Probably not, because iptables will do that dns lookup once and then never again.

You can script something up to do that though.
LunchBoxSteve
DD-WRT Novice


Joined: 30 Aug 2019
Posts: 21

PostPosted: Thu Jul 30, 2020 22:20    Post subject: Reply with quote
I'm not that well versed I'm afraid, but thank you for answering the question...
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum