gateway

  1. A

    Gateway

    Hi, My freebsd has multiple network interfaces and have one default gateway e.g. 192.168.0.1/24 . I want that the gateway should be 10.0.0.1/24 when any request/traffic arrives on the IP 10.0.0.20/24, I mean it should not consider the default gateway when the traffic comes for IP 10.0.0.20/24 ...
  2. plexinvise

    Solved Gateway, NAT (PAT). Cannot use external TFTP due to UDP port "unreachable"

    Hi there, I am trying to solve a problem with my gateway setup. My FreeBSD machine is basically a gateway RaspberryPI which has two NIC: ue0 (Connected to external network, let's call it Internet) and ue1 (is an interface for internal LAN, dhcpd and dnsmasq spinning on it). My current setup...
  3. plexinvise

    Solved FreeBSD as a MITM router

    Hi there, I am stuck with a problem I cannot resolve myself, unfortunately. I have a RPI3 device with FreeBSD on it, which I want to act as a router with firewall. Mu initial intent to use it as a sort of MITM router that I can control and adapt firewall needs for the purposes of testing...
  4. aragats

    PF NAT to route Wireguard clients' traffic

    I'm missing something obvious. Why NAT doesn't work in a Wireguard server to route clients' traffic? ext_if="vtnet0" wg_clients="10.40.0.0/24" nat on $ext_if inet from $wg_clients to any -> ($ext_if) The server's Wireguard IP address is 10.40.0.1, the client's - 10.40.0.30. Running tcpdump on...
  5. patpro

    Solved can’t get ipv6 to work on my gateway (behind a freebox)

    Hello, I’m running a FreeBSD (13.2-RELEASE-p2) gateway between my LAN and internet. On the WAN side (em1) it’s hooked to a freebox (the fiber "modem" of my provider) setup in bridge mode. Relevant rc configuration: ifconfig_em1="DHCP" gateway_enable="YES" ifconfig_em0="inet 192.168.0.1...
  6. aragats

    Different gateway for specific TCP ports

    You may find this trivial, but I'm not an expert in packet filtering. What's the best way to use a different gateway for an email client's traffic from a bhyve VM (see below)? In particular, IMAP (993) and SMTP (587) are blocked on the LAN, so, the corresponding traffic should go through...
  7. sdavidb

    jails Jail host on bridge unreachable over TCP (IPv6-only)

    Hello everyone... I'm fairly new to FreeBSD and come from a Linux/Docker background, but I've been amazed and impresed with the jails functionality in this OS. I've deployed a small DevOps/CI stack on a small Intel mini-PC in my home, using IPv4, if_bridge, and iocage. I'm trying to migrate...
  8. T

    IPFW IPFW server, acting as a firewall (how to pass traffic ?)

    Hello everyone, Experimenting IPFW, I would really appreciate some help to improve my abilities ! I actually know how to use it as a workstation firewall, but now, I would like to learn how to use it as an easy full firewall (just for experimenting). Here is an easy network map describing what...
  9. I

    How to Force all Clients on a network to Read Domains from /etc/hosts in main freebsd gateway machine.

    i have a freebsd 12 in front of my network at home and all clients are using it as gateway. the problem is when i add a host line on hosts file clients do not resolve the new ip. for example if i add 10.18.4.50 mydomain.com all clients sould read this ip for the domain but this is not what...
  10. subnetspider

    HOWTO: Setting up FreeBSD 13 on a IONOS VPS Server

    Update 2023-12-20 This guide applies only to the VMware based "Virtual Server Cloud" VPS servers, which have been discontinued in mid 2023 and replaced with the "VPS Linux" servers. Due to problems with getting IPv6 to work reliably with the IONOS VPS, I have also updated the IPv6 Networking...
  11. I

    jails How to configure routing for jail?

    I'm having some problem setting routing inside a jail. I added to rc.conf (inside jail) and it did not work. I then tried "route add 172.16.0.1" and it responded "route: writing to routing socket: Operation not permitted" I think it is not possible to set routing from inside. So, how do I...
  12. H

    Solved firewall rules for connecting reverse proxy to nginx jails

    Even though I have been using freebsd on my desktop and laptop for many years, I have no experience in server configuration. After much research, trial and error, I was finally able to put together a webtoaster. The services run in jails and each one with a private IP, in this case a jail that...
  13. decuser

    PF Reasonable gateway firewall configuration

    After much tribulation, I was able to get my FreeBSD machine operating as a gateway router between my lan and ISP router. I used pf because I found a decent howto online - Building an OpenBSD/pf Firewall. The pain came when I tried typing the rules in - what a friggin' nightmare (insert lots of...
  14. D

    Solved Wireguard setup (with PF problems)

    Hi there, I'm sort of a new user with FreeBSD, so please excuse me if you see some glaring error in my thinking/configs (I'm a Linux admin so there are differences I'm counting on). :) So here is my problem - I would like to set up Wireguard on FreeBSD 12, which is mostly done, I think, the...
  15. U

    no NAT/routing through iocage OpenVPN gateway jail/host

    Hi folks, I'm somewhat of a *BSD novice, having rather used various builds for appliance devices, such as pfSense, opnSense, FreeNAS, etc. I've recently set up a new FreeNAS box from scratch, and built/building a jail for the express purpose of maintaining OpenVPN client connections, and then...
  16. J

    Solved CARP on /30 subnet

    Hello folks, I have the following situation: +-----------+ 172.31.255.6/24 | | 192.168.100.1/24 +--------+ silver1 +---------+...
  17. J

    Solved CARP Gateway - Slow internet access

    Hello folks, I have two machines (exact same hardware) that I'd like to use as a gateway/router for LAN clients to access the internet. I am using CARP for fail-over which is already working - therefore, let's refer to the two machines as "the gateway" from here on. Here's a drawing for sanity...
  18. N

    Looking for 1on1 help preferably in person (Toronto Area)

    Hello Everyone! I am a regular linux user of about 10 years. I am now looking to learn freeBSD. icsdhcp,gateways,ipsec and pf, ect. I am using vmware to create my network and finding that i read a doc on dhcp.conf and realize 1h later its for a version 2 years old and openBSD. I would like...
  19. B

    Help Connecting to the Internet through BSD

    For an assignment we have to connect two workstations to the internet through an HP server running BSD. The WS are connected to a switch that runs to eth0(10.0.0.0 network) and eth1 is connected to the schools internet 192.168.175.0 network. Gateway is enabled, the server is connected to the...
  20. Rastko

    lagg0 denies router config

    Hi, I have set up the lagg0 failover virtual link that aggregates ethernet and radio adapters on my laptop. Everything works fine, except I cannot access my router configuration page. I've changed the firewall script to use interface "lagg0" in the rules, but I didn't change much, and the...
Back
Top