DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Multiple IP access
- mswindale
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 15
- Thank yous received: 0
27 Jun 2012 10:42 #72754
by mswindale
Multiple IP access was created by mswindale
I have a 2830 and we have a database that we require certain ports opening for 4 different external IP addresses, to ensure its secure I dont want to just do the port forwarding I would then like to restrict it. I think I need to set up filters, one to block all access on those ports then to allow each IP firstly is that correct and secondly can I set up one rule that has multiple IP's is as we have 2 different ports and 4 different IP's which means 8 rules... would like it a bit neater... yes it is a bit OCD
Thanks in advance
Thanks in advance
Please Log in or Create an account to join the conversation.
- nealuk
- Offline
- Member
Less
More
- Posts: 465
- Thank yous received: 0
27 Jun 2012 12:50 #72756
by nealuk
Replied by nealuk on topic Re: Multiple IP access
Yes, I would use IP objects and IP groups for this too.
Follow this example for incoming SMTP from a trusted IP range, which should help to start you off:
Under IP Object, I set and Index for each of the email providers.
Friendly Name
WAN
IP Range
Under IP Group, I create an Index called "Incoming SMTP" Interface Any (handy for VPN intercompany mail) and add in the trusted indexees.
Under Service Type Object, I create and Index called SMTP
Name SMTP
Protocol TCP
Source Port = 1 - 65535
Destination Port = 25 - 25
Firewall >> Filter Setup
Index 2 "Default Data Filter"
Extend this as follows:
Index 2
Comments: Block SMTP
Direction: WAN > LAN
Source IP: Any
Destination IP: Any
Service Type: SMTP
Fragments Don't Care
Application
Filter: Block If No Further Match
Index 3
Comments: Trusted SMTP
Direction: WAN > LAN
Source IP: Incoming SMTP (choose the IP Group created earlier)
Destination IP: Any
Service Type: SMTP
Fragments Don't Care
Application
Filter: Pass Immediately
I think that's it. Seems long winded to start with, but it does make on-going changes much easier to handle in the future imo.
Regards, Neal
Follow this example for incoming SMTP from a trusted IP range, which should help to start you off:
Under IP Object, I set and Index for each of the email providers.
Friendly Name
WAN
IP Range
Under IP Group, I create an Index called "Incoming SMTP" Interface Any (handy for VPN intercompany mail) and add in the trusted indexees.
Under Service Type Object, I create and Index called SMTP
Name SMTP
Protocol TCP
Source Port = 1 - 65535
Destination Port = 25 - 25
Firewall >> Filter Setup
Index 2 "Default Data Filter"
Extend this as follows:
Index 2
Comments: Block SMTP
Direction: WAN > LAN
Source IP: Any
Destination IP: Any
Service Type: SMTP
Fragments Don't Care
Application
Filter: Block If No Further Match
Index 3
Comments: Trusted SMTP
Direction: WAN > LAN
Source IP: Incoming SMTP (choose the IP Group created earlier)
Destination IP: Any
Service Type: SMTP
Fragments Don't Care
Application
Filter: Pass Immediately
I think that's it. Seems long winded to start with, but it does make on-going changes much easier to handle in the future imo.
Regards, Neal
Please Log in or Create an account to join the conversation.
- mswindale
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 15
- Thank yous received: 0
27 Jun 2012 15:10 #72757
by mswindale
Replied by mswindale on topic Re: Multiple IP access
that is great and very clear, makes sense as to why to do it, I have done it, just needs testing.... THANKS!!!!
Please Log in or Create an account to join the conversation.
Moderators: Chris
Copyright © 2025 DrayTek