I have a SME 7.3 box serving as a Proxy and DNS server for my local network. The SME and clients are sitting behind a firewall. The SME is in server-only mode and only acts as a proxy/dns/web/samba server for my local network. DHCP is handled by my firewall.
It's set up like this:
WAN
|
modem
|
firewall
|
switch
/ \
SME Clients
But i have one problem: The SME is using random ports for proxy http(s) and dns traffic. A example of what's in my log:
source: 192.168.2.2, port 34034 destination: 208.67.219.101, port 80
The source port could be anything, from 34000 to 34999, but I've seen other ports also. DNS is the same, but the ports are even more unpredictable. Ports vary from 2000 to 50000, and i wonder why. Can i change this behaviour? In my mind opening up a enormous amount of ports in my firewall is just as safe as having no firewall at all. Or am i missing something here?