I'm needing to make a VPN (VirtualPrivateNetwork), so ta question is if i'd like to create a VPN using a OS like Fedora, what do i need !?? about software !!!
Or somebody know a link where talk about VPN's !??

Please, i'm new using Linux !! :$

Dani AI

Generated

For a site-to-site link between your New York and Chicago offices (the scenario described), treat each office as a Fedora gateway/peer and make them exchange routes over an encrypted tunnel. As asked early on: decide now that both ends will be peers (not just a single client dialing a server). Two modern, actively maintained choices are WireGuard (simple, fast) and strongSwan (IPsec, widely interoperable): see WireGuard and strongSwan for authoritative docs.

A compact, practical workflow:

  1. Plan addressing: give each LAN a unique private subnet (example: NY 10.10.1.0/24, CHI 10.10.2.0/24). Avoid overlaps.
  2. Ensure each gateway has a reachable public IP or DDNS name.
  3. Install the VPN package from Fedora repos, generate keys/certs, and configure a tunnel interface on both sides that routes the remote subnet.
  4. Enable IP forwarding on the gateway and add firewall rules (allow the VPN protocol/port). If a gateway sits behind another NAT box, forward the VPN port on that router.
  5. Start the service and add static routes or adjust NAT depending on whether you want full routed subnets or NATted traffic.

Example commands to enable forwarding and open WireGuard's default port (adjust if using IPsec):

sysctl -w net.ipv4.ip_forward=1
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf

firewall-cmd --permanent --add-port=51820/udp
firewall-cmd --reload

Testing and troubleshooting pointers:

  • From each gateway, verify the tunnel is up (wg show or ipsec status), then ping hosts across the remote subnet.
  • If pings fail, check firewall rules, confirm forwarding is enabled, confirm correct AllowedIPs/route entries, and ensure no overlapping subnets.
  • Use tcpdump/journalctl -u to inspect traffic and logs; check for NAT issues if one side is behind a consumer router.

If new to Linux, consider the NetworkManager WireGuard plugin or a small appliance to avoid deep manual setup. Official docs: WireGuard and strongSwan.

Recommended Answers

All 5 Replies

do you want to dial to an vpn server, or to create your own vpn server?

man OpenVPN

do you want to dial to an vpn server, or to create your own vpn server?

man OpenVPN

I'm needing to create my OWN VPN server using Internet of curse!!!
For example if i have an office on New York and another one at Chicago, How can i do it using Fedora !???

Please, somebody knows !!??

did you expect a step by step answer with screenshots? or maybe I should have come over and done the work for you? the info is all there, and if you know what you're doing, you will have no trouble finding it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.