-
Recent Posts
- ### The Cisco ASA Scan Surge: What You Need to Know
- # The Adobe Commerce Flaw: What You Need to Know
- —title: Claude’s New AI Feature: A Double-Edged Sword for Data Security—
- # Beware the Leaky SAP S/4HANA Ship: Why You Should Bow Down to CVE-2025-42957
- ### Watch Out! Cybercriminals Are Playing with Grok AI 🎭
Categories
- Android (80)
- Android Apps (74)
- Apache (4)
- Arch (10)
- Bill 'em (2)
- CentOS (20)
- Cisco (2)
- Development (12)
- DevOps (3)
- Dominion Companion (15)
- Fedora (20)
- Good Shepherd Knights of Columbus (2)
- Good Shepherd Online App (2)
- GS Chinese Auction (2)
- Guides (52)
- Hacks (10)
- Harptabs.com (68)
- Harptabs.com Mobile App (26)
- Landscaper Tracker (1)
- Linux (80)
- myCookieFortune.com (3)
- Networking (8)
- News (187)
- Our Apps (58)
- Payup (1)
- PHP IP Logger (6)
- Security (20)
- Time Off Tracker (6)
- Website Loader (1)
- Websites (20)
- Windows (4)
Tags
android apps arch beta Bill 'em block bluetooth bug fix Captcha css dc delete development domain controller dominion companion downloader draft email flash FSMO hard disk harptabs Harptabs.com Harptabs.com Android App inode iptables linux Maintenance mobile mobile app mount pacman password photos PHP IP Logger QR security smartctl special character ssh terminal testing time off tracker update upgradeAds by Google
Join us on Facebook
Using iptables to route OpenVPN traffic
To have your vpn traffic be able to reach the internet you just need to add the following iptable rules:
iptables -A FORWARD -i tun0 -j ACCEPT
iptables -A FORWARD -i tun0 -o eth0 -m state –state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth0 -o tun0 -m state –state RELATED,ESTABLISHED -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE
This would take the tunnel adapter of tun0 and route the traffic through eth0 for the vpn subnet of 192.168.0.0.
DNF | Dandified Yum
Yum package manager is no more. DNF is it’s replacement in Fedora 22. DNF is a fork of yum so most of the commands are the same but they are just run in the background in a better way.
Source: DNF | Dandified Yum
Posted in Fedora
Leave a comment
Turn on IP Forwarding in Linux
By default for security reasons IP forwarding is turned off. If you are setting up a router or a vpn gateway you will need to turn it back on. You can just run the following command to turn it on.
echo 1 > /proc/sys/net/ipv4/ip_forward