Hey all,
I've setup my home gateway machine to be a proxy server with squid, and basically it is setup like this:
((INTERNET)) <--PPPOE Cable Modem over Ethernet (Eth1)--> [[[SERVER]]] <-- (ETH0, DNS/DHCP/Squid basically internal network) --> SWITCH --> REST OF PC's
It's working perfectly, all the PCs have IP Addresses via static ips, they all have Internet Access when setup properly in Firefox/IE (I have a proxy configuration URL in network settings to make things easier) and everyone can access the internet with no problems.
The only issue is that I can't figure out how to allow users on the network to play games online such as World of Warcraft, Warcraft 3, etcetc. I have a full port list, i've tried a few things with IPTables but I can't figure it out.
Should I switch to a transparent proxy? I'm not sure if this is what I want, as I read that SSL doesn't work over transparent proxies (as I need to access netbanking, which is SSL, tax office which is SSL, and countless other sites that support SSL).
Help would be appreciated as I am sitting here scratching my head and my family are starting to get a little annoyed that they can't play their MMO's. :P
Ipconfig in my rhel 5 pc
Code:
1.
ifconfig
2.
eth0 Link encap:Ethernet HWaddr 18:A9:05:3B:3F:DC
3.
inet addr:172.31.1.15 Bcast:172.31.1.63 Mask:255.255.255.192
4.
inet6 addr: fe80::1aa9:5ff:fe3b:3fdc/64 Scope:Link
5.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
6.
RX packets:10873466 errors:0 dropped:0 overruns:0 frame:0
7.
TX packets:10469673 errors:0 dropped:0 overruns:0 carrier:0
8.
collisions:0 txqueuelen:1000
9.
RX bytes:950060837 (906.0 MiB) TX bytes:4264116803 (3.9 GiB)
10.
Interrupt:138 Memory:f8000000-f8012100
11.
12.
eth1 Link encap:Ethernet HWaddr 18:A9:05:3B:3F:DE
13.
inet addr:210.212.48.15 Bcast:210.212.48.63 Mask:255.255.255.192
14.
inet6 addr: fe80::1aa9:5ff:fe3b:3fde/64 Scope:Link
15.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
16.
RX packets:29798851 errors:0 dropped:0 overruns:0 frame:0
17.
TX packets:25584749 errors:0 dropped:0 overruns:0 carrier:0
18.
collisions:0 txqueuelen:1000
19.
RX bytes:3650344960 (3.3 GiB) TX bytes:1549259280 (1.4 GiB)
20.
Interrupt:146 Memory:f6000000-f6012100
21.
22.
lo Link encap:Local Loopback
23.
inet addr:127.0.0.1 Mask:255.0.0.0
24.
inet6 addr: ::1/128 Scope:Host
25.
UP LOOPBACK RUNNING MTU:16436 Metric:1
26.
RX packets:20660 errors:0 dropped:0 overruns:0 frame:0
27.
TX packets:20660 errors:0 dropped:0 overruns:0 carrier:0
28.
collisions:0 txqueuelen:0
29.
RX bytes:6065924 (5.7 MiB) TX bytes:60659
client windows ip config
Code:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 172.19.1.247
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 172.19.0.1
And is their ant way to allow only specific ips to access squid server for using internet?
Also is there any other way other than using squid ?Like only iptables and static ips