-
Recent Posts
- Instagram accidentally reveals plaintext passwords in URLs – Naked Security
- Another Facebook Bug Could Have Exposed Your Private Information
- Microsoft’s Bitlocker compromised by bad SSD encryption
- LibSSH Flaw Allows Hackers to Take Over Servers Without Password
- The Big Hack: How China Used a Tiny Chip to Infiltrate U.S. Companies – Bloomberg
Categories
- Android (80)
- Android Apps (74)
- Apache (4)
- Arch (10)
- Bill 'em (2)
- CentOS (20)
- Cisco (2)
- Development (12)
- DevOps (1)
- 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 (79)
- myCookieFortune.com (3)
- Networking (8)
- News (167)
- Our Apps (58)
- Payup (1)
- PHP IP Logger (6)
- Security (10)
- Time Off Tracker (6)
- Website Loader (1)
- Websites (20)
- Windows (3)
Tags
android apps arch setup authconfig basics beta Bill 'em bug fix dc default runlevel domain controller dominion companion draft email firewall FSMO harptabs Harptabs.com Harptabs.com Android App headless iptables Maintenance mobile mobile app mount pacman pam password password complexity PHP IP Logger QR run-level runlevel samba security shadow file ssh sshfs syntax highlighting terminal time off tracker update upgrade vi vimAds 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.
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
Lifehacker Arch Tutorial
Posted in Arch, Guides
Leave a comment
Extract the audio from a flash video
Extract the audio from a flash video.
ffmpeg -i video.flv -acodec copy track.mp3
Build a Killer Customized Arch Linux Installation and Learn All About Linux in the Process
This is a nicely written guide for people looking to getting started with Arch Linux.
Build a Killer Customized Arch Linux Installation and Learn All About Linux in the Process.