Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 54 guests and 3 members online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Other
OpenVPN on Windows
EH-Net
May 22, 2013, 07:50:57 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Other
(Moderator:
don
) >
OpenVPN on Windows
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: OpenVPN on Windows (Read 8361 times)
0 Members and 1 Guest are viewing this topic.
BillV
Hero Member
Offline
Posts: 1892
OpenVPN on Windows
«
on:
February 14, 2007, 05:57:32 PM »
Does anyone have any experience with OpenVPN on Windows? I've configured both server and client scripts, everything seems to talk ok, but there's no network connection. When I connect through the client, it says the connection is successful, it recieves an IP and DNS, but it is not receiving a default gateway (not sure if this is the problem or not). I've been looking all around but there doesn't seem to be much out there on this specific issue. Anyone have any ideas? Thanks.
Logged
pcsneaker
Jr. Member
Offline
Posts: 73
Re: OpenVPN on Windows
«
Reply #1 on:
February 15, 2007, 06:54:56 AM »
Never had any problems.
Post your config if you need help.
Logged
MCSA:Security (W2k, W2k3)
MCSE:Security (W2k, W2k3)
CPTS, Network+
BillV
Hero Member
Offline
Posts: 1892
Re: OpenVPN on Windows
«
Reply #2 on:
February 15, 2007, 07:39:17 AM »
Alright, the quick run-down is that I have two internal networks I'm wanting to allow access to, 10.1.99.0 and 199.1.99.0. The OpenVPN server is running at 10.1.99.8.
Server Config
########
port 1194
proto udp
dev tap
dev-node tap-bridge
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher AES-128-CBC
comp-lzo
max-clients 25
persist-key
persist-tun
verb 3
status openvpn-status.log
server-bridge 10.1.99.8 255.255.255.0 10.1.99.240 10.1.99.245
push "route 199.1.99.0 255.255.255.0"
push "route 10.1.99.0 255.255.255.0"
push "dhcp-option DNS 199.1.99.66"
push "dhcp-option WINS 199.1.99.66"
Client Config
########
client
dev tap
dev-node vpn
proto udp
remote 12.191.2.235 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
cipher AES-128-CBC
comp-lzo
verb 3
Logged
LSOChris
Guest
Re: OpenVPN on Windows
«
Reply #3 on:
February 15, 2007, 08:56:47 AM »
i havent really played with open VPN but is this line correct?
remote 12.191.2.235 1194
you said the server is running at 10.1.99.8
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: OpenVPN on Windows
«
Reply #4 on:
February 15, 2007, 09:02:14 AM »
Yeah, that's for the client that would be coming in from the outside. I have it connecting to an external IP, 12.191.2.235, through UDP port 1194, and then that's forwarded to 10.1.99.8.
Logged
pcsneaker
Jr. Member
Offline
Posts: 73
Re: OpenVPN on Windows
«
Reply #5 on:
February 15, 2007, 11:22:04 AM »
It seems that you are mixing routing and bridging.
Did you create the bridge in windows ? You'll have to do that manually outside of openvpn.
Do you really want to bridge ? (it's not advisable if you're connecting via the internet, a lot of unnecessary traffic will go over the wire...)
If you decide to use routing (that's what I would do) remember that you'll have to activate routing (IP-forwarding) in windows either via MMC-SnapIn "Routing and RAS" or via setting the registry key manually.
BTW, if you don't specify "pull" in the client config no setting will be pushed from the server, so have a look at that too.
Logged
MCSA:Security (W2k, W2k3)
MCSE:Security (W2k, W2k3)
CPTS, Network+
BillV
Hero Member
Offline
Posts: 1892
Re: OpenVPN on Windows
«
Reply #6 on:
February 15, 2007, 11:48:23 AM »
Hmm...
Yes, I have created the bridge in Windows (on the server), as well as edited the registry key.
The problem seems to be connecting beyond the server at this point. From an outside machine, I am able to connect to the server and ping the server address, but nothing beyond that. On the server side, I am able to ping the outside computer, look at shares, etc.
I'll try adding a 'pull' command for those routes as you have suggested to see if that helps out.
Edit: tried adding the 'pull' statement, but still no luck
«
Last Edit: February 15, 2007, 01:15:41 PM by venom77
»
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: OpenVPN on Windows
«
Reply #7 on:
February 15, 2007, 01:36:05 PM »
bah, restarting works wonders
Figured maybe I made a change somewhere to something at some point that could use a fresh start. Restarted the server and everything seems to be working fine now.
Thanks for the help and suggestions, greatly appreciate it
Logged
pcsneaker
Jr. Member
Offline
Posts: 73
Re: OpenVPN on Windows
«
Reply #8 on:
February 16, 2007, 03:57:58 AM »
Quote
bah, restarting works wonders
M$ problem solving: Minor problems - reboot, major problems - reinstall ...
Logged
MCSA:Security (W2k, W2k3)
MCSE:Security (W2k, W2k3)
CPTS, Network+
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: happy-birthday-cards-19.txt
(0) by
Agighgype
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.