Skip to content

Instantly share code, notes, and snippets.

View zingmars's full-sized avatar
:octocat:

Ingmars Melkis zingmars

:octocat:
View GitHub Profile
@jirutka
jirutka / rules-both.iptables
Created September 18, 2012 12:42
Basic iptables template for ordinary servers (both IPv4 and IPv6)
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <[email protected]>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@stengaard
stengaard / OpenswanRSALoadError
Created June 19, 2012 16:31
Openswan RSA load error
If you ever see
ipsec__plutorun: 003 "/etc/ipsec.secrets" line 16: error loading RSA private key file
in your syslog
root@:/etc/ipsec.d/private# openssl rsa -in vpn.example.com.key -outform pem -out vpn.example.com.key.new
writing RSA key
may very well help.