The ideal setup:
The ideal setup which I've researched which seems common, where FreeBSD acts as a firewall between the internet and local network, which I believe that it is possible to have squid running a transparent proxy for caching purposes. This setup requiring two ethernet interfaces for physical separation between the router and local network.
However I do not yet have an active DSL line nor two ethernet interfaces, so I cannot test if the following modified configuration will be plausible.
Physical layout:
Where from the logical data flow I would like to achieve:
Where FreeBSD has only one ethernet interface namely eth0, routing traffic between PPPoE and the local network attached on eth0. FreeBSD should act as the router with the transparent proxy acting as a caching server, where DHCP and DNS is managed by FreeBSD.
Is this a realistic setup, as well as the assumption that the ppp connection may replace eth1 as depicted in the ideal setup?
Any suggestions and corrections would be greatly appreciated,
Thank you.
Code:
DSL Router --> eth1 --> FreeBSD --> eth0 --> Local Network
The ideal setup which I've researched which seems common, where FreeBSD acts as a firewall between the internet and local network, which I believe that it is possible to have squid running a transparent proxy for caching purposes. This setup requiring two ethernet interfaces for physical separation between the router and local network.
However I do not yet have an active DSL line nor two ethernet interfaces, so I cannot test if the following modified configuration will be plausible.
Physical layout:
Code:
DSL Modem --> Local Network --> eth0 --> FreeBSD
Where from the logical data flow I would like to achieve:
Code:
Client --> eth0 -->FreeBSD --> PPPoE --> Internet
Where FreeBSD has only one ethernet interface namely eth0, routing traffic between PPPoE and the local network attached on eth0. FreeBSD should act as the router with the transparent proxy acting as a caching server, where DHCP and DNS is managed by FreeBSD.
Is this a realistic setup, as well as the assumption that the ppp connection may replace eth1 as depicted in the ideal setup?
Any suggestions and corrections would be greatly appreciated,
Thank you.