Displaying 6 results from an estimated 6 matches for "enp3s1".
Did you mean:
enp3s0
2020 May 09
4
Transparent Squid and FirewallD : fine-tuning question
...r has two network interfaces, which I've aptly named WAN and LAN in the
NetworkManager configuration:
$ nmcli con show
NAME UUID TYPE DEVICE
WAN 9574b606-8f6d-3edc-95ad-8165df0f3fce ethernet enp2s0
LAN c726b168-1fcd-4dc5-a01d-8ad8a1ba38ee ethernet enp3s1
Squid is acting as a transparent proxy server:
$ sudo grep http_port /etc/squid/squid.conf
http_port 3128 transparent
In my firewall configuration, all requests to port 80 (HTTP) are redirected to
port 3128:
$ sudo firewall-cmd --permanent
--add-forward-port=port=80:proto=tcp:toport=3128:toaddr...
2016 Nov 24
2
Dnsmasq and /etc/hosts
.... amandine.sandbox.lan is a headless LAN server
2. bernadette.sandbox.lan is a client desktop
3. raymonde.sandbox.lan is another client desktop
I've setup Dnsmasq on amandine.sandbox.lan. Here's the very basic
configuration:
# /etc/dnsmasq.conf
domain-needed
bogus-priv
interface=enp3s1
dhcp-range=192.168.3.100,192.168.3.200,24h
local=/sandbox.lan/
domain=sandbox.lan
expand-hosts
no-resolv
# DNS
server=192.168.2.1
# Postes fixes
dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.3.2
dhcp-host=00:1D:09:15:4A:D8,raymonde,192.168.3.3
With this setup as such, I can re...
2016 May 05
3
FirewallD and FTP passive mode
...behind firewall. And i can't enable passive
mode from the Internet. There are plenty howtos but there aren't many
with my combination.
For now i have configured port forwarding and ftp server itself.
On the router:
# firewall-cmd --list-all --zone=external
external (active)
interfaces: enp3s1
sources:
services: openvpn ssh
ports: 1194/tcp 2666/tcp 88/tcp
masquerade: yes
forward-ports: port=21:proto=tcp:toport=:toaddr=10.0.32.7
port=10090-10100:proto=tcp:toport=:toaddr=10.0.32.7
port=88:proto=tcp:toport=80:toaddr=10.0.32.23
icmp-blocks:
rich rules:
I also d...
2016 Nov 24
0
Re: Dnsmasq and /etc/hosts
...> 2. bernadette.sandbox.lan is a client desktop
>
> 3. raymonde.sandbox.lan is another client desktop
>
> I've setup Dnsmasq on amandine.sandbox.lan. Here's the very basic
> configuration:
>
> # /etc/dnsmasq.conf
> domain-needed
> bogus-priv
> interface=enp3s1
> dhcp-range=192.168.3.100,192.168.3.200,24h
> local=/sandbox.lan/
> domain=sandbox.lan
> expand-hosts
> no-resolv
> # DNS
> server=192.168.2.1
> # Postes fixes
> dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.3.2
> dhcp-host=00:1D:09:15:4A:D8,raymonde,192.16...
2016 Nov 24
2
Dnsmasq and /etc/hosts
...se that information, here's how I changed the
configuration.
First, point /etc/resolv.conf to the server itself:
# /etc/resolv.conf
nameserver 127.0.0.1
Next, get rid of the 'no-resolv' option in '/etc/dnsmasq.conf':
# /etc/dnsmasq.conf
domain-needed
bogus-priv
interface=enp3s1
dhcp-range=192.168.3.100,192.168.3.200,24h
local=/sandbox.lan/
domain=sandbox.lan
expand-hosts
# DNS
server=192.168.2.1
# Postes fixes
dhcp-host=00:1E:C9:43:A7:BF,bernadette,192.168.3.2
dhcp-host=00:1D:09:15:4A:D8,raymonde,192.168.3.3
After restarting Dnsmasq, everything seems fine now:
[root a...
2015 Feb 10
3
KISS networking with CentOS 7
Hi,
I'm currently experimenting with CentOS 7 on a couple of installations.
I'm reasonably proficient with CentOS 5.x and 6.x.
I'd like to manage networking using a more traditional approach (Keep It
Simple Stupid). Here's what I tried so far, starting from a minimal install:
Install net-tools (to be able to use ifconfig).
Get rid of NetworkManager:
# yum remove