You will need to use the vpn endpoint address, essentially one that is dedicated to the vpn anyway.
Routing can.only be done per ip so.you can't add a route over the vpn.
If you don't want to have to enter another address, you could probably proxy it locally and send over the vpn to it's internal address.
--
Dee Earley
----- Reply message -----
From: "Robert Gauld" <robert(a)robertgauld.co.uk>
Date: Thu, Oct 7, 2010 09:18
Subject: [bitfolk] HTTP via PPTP to same host
To: "Bitfolk Users List" <users(a)lists.bitfolk.com>
What I would like to do is route all traffic via a VPN connection, even that
which is destined for my vps (except of course the actual vpn connection).
How can I do this.
My setup:
Netbook (Ubuntu 10,04)
connects via a WLAN to
VPS (Ubuntu 10.04 via a PPTP VPN)
and then onto the rest of the internet.
Browsing (either http or https) to any other site works fine. However trying
to connect to my vps (using http or https) results in connection timed out -
the WLAN firewalls ports 80 and 443 to force use of a proxy.
Is there a way to do this (ie all traffic except the PPTP connection goes
through the PPTP connection) by tweaking the config at one end or the other,
or do I have to essentially have an IP address dedicated to the VPN?
--
Robert Gauld
http://www.robertgauld.co.uk
Hello,
A wiki is now available at:
https://tools.bitfolk.com/wiki/
At the moment, only logged in users may create or edit articles -
log in with your usual BitFolk credentials (the same ones you use to
log in to https://panel.bitfolk.com, Cacti, Nagios. etc.). We'll see
how it goes on that setting for a while.
I am probably going to move some of the pages on http://bitfolk.com/
over to the wiki in the near future, and if that's all that happens
then so be it. A customer wiki was far and away the most-wanted
feature on the tracker though (http://is.gd/fL41D), so I hope you
will make some use of it. :)
I have also been doing some work on the next issue down, the reverse
DNS editing, and hope to be able to have something to show for it
this week.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
Hi All,
I'm puzzled, and hope you all can help - the machine is almost ready, so I'll
stop bothering you soon, promise!
So I seem to have set up my bind9 and sendmail software.
% host -a exoco.net
% dig +short -t mx exoco.net @212.13.195.120
% nslookup exoco.net
all work fine.
% telnet exoco.net 587
does too.
Why does
% telnet exoco.net 25
from an external machine not work (it hangs), while it does function at the
local?
What am I missing??
TIA,
Max
Hi All,
well, I found some errors in my reverse DNS zone file, which is appended. I'm
certain not to have eliminated all of them, so if anyone has comments, I'd be
glad to receive them.
This file resides in </etc/bind/zones/master/212.13.195.rev>.
TIA,
Max
$TTL 1d ;
$ORIGIN 195.13.212.IN-ADDR.ARPA.
@ IN SOA ns.exoco.net. admin.exoco.net. (
2007011501
7200
120
2419200
604800
)
IN NS ns.exoco.net.
; IN NS ns2.exoco.net.
1 IN PTR ns.exoco.net.
;2 IN PTR ns2.exoco.net.
I've posted a suggestion in the issue tracker to allow nagios to monitor
both the used bandwidth and the usage of backup space. If like me you'd like
to check everything on one page rather than having to login to both nagios
and the panel then please take the time to vote it up so that Andy can tell
how many people would like it.
https://tools.bitfolk.com/redmine/issues/41
--
Robert Gauld
http://www.robertgauld.co.uk
Hi
I have a functional mail server on my new VPS.
Now I want to propagate mydomainname.com to email servers through the MX record,
so that people can find 'me(a)mydomainname.com'.
The domain registry has default values of 'mailstore1.secureserver.net' and
'smtp.secureserver.net'.
I would like them to point at my VPS, but am unaware of the correct strings,
which would replace 'mailstore1...' and 'smtp...' above..
I would also like to minimise my sysadmin time, and so would like to avoid to be
forced to use bind etc on my VPS.
Can anyone help? TIA.
Cheers,
Max
Hi all,
thanks to all who responded (online and off) to my mx without bind9 question
earlier this weekend. :)
I decided as a result that it would be easier to set up a bind9 service than
otherwise.
I now have installed bind9 on my VPS machine, and as I know very little about
network administration, am posting my setup for all to critique in the hopes of
settling on a useful secure bind9 installation for myself and future VPS users.
I followed this article for its explanation and chroot instructions:
<http://linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9>
and this bitfolk email trail:
<http://lists.bitfolk.com/lurker/message/20100112.002714.8eac953a.en.html>
to generate the appended config script.
The string 'example.com' needs to be replaced with the domain name, and the
string 'xyz' needs to be replaced by the last number of the
dotted.decimal.IP.address in order to create an operable bind9 setup. The file
is located in '/etc/bind/zones/master/example.com.db'.
TIA,
Max
;
; BIND data file for example.com
;
$TTL 604800
@ SOA ns1.example.com. hostmaster.example.com. (
2010100201 ; Serial - YYYYMMDDXX
7200 ; Refresh - 2hrs
600 ; Retry - 10mins
1209600 ; Expire - 2wks
3600) ; minimum - 1hr
;
; Useful doc for above SOA values:
; http://www.ripe.net/ripe/docs/ripe-203.html
;
NS ns.example.com.
NS a.authns.bitfolk.com.
NS b.authns.bitfolk.com.
NS c.authns.bitfolk.com.
MX 5 mail.example.com.
A 212.13.195.xyz
ns A 212.13.195.xyz
www CNAME example.com.
mail A 212.13.195.xyz
Hi,
thanks to all who replied... (and so quickly!! :)
a followup to this following comment appears below:
+++++++++++++++
----- Forwarded Message ----
From: Jan Henkins
To: Max B
Sent: Fri, October 1, 2010 3:41:18 PM
Subject: Re: [bitfolk] mx without bind?
Hello Max,
If you don't want to run an authoritative DNS server on your VPS, you will
have to find somebody who can. Without correctly set up NS servers for your
domain, MX won't be possible. If you Google long enought, you will find
there are a number of DNS service providers out there that can do it from
free to a minimal fee. Running your own auth DNS using Bind or similar is
not as difficult as you might think, plenty people here doing just that.
+++++++++++++++++
but doesn't that mean running TWO machines? mydomain.com AND smtp.mydomain.com?
that immediately doubles my cost, and triples the trouble... I'm hazy enough on
the DNS hosts networking thing, now you want me to have a slave server in one
domain?? Unless there is a masquerade of which I am unaware...? Help!
Regards,
Max
On 30/09/10 19:21, Max B wrote:
>Hi
>
>I have a functional mail server on my new VPS.
>
>Now I want to propagate mydomainname.com to email servers through the MX
>record, so that people can find 'me(a)mydomainname.com'.
>
>The domain registry has default values of 'mailstore1.secureserver.net'
>and 'smtp.secureserver.net'.
>
>I would like them to point at my VPS, but am unaware of the correct
>strings, which would replace 'mailstore1...' and 'smtp...' above..
>
>I would also like to minimise my sysadmin time, and so would like to
>avoid to be forced to use bind etc on my VPS.
>
>Can anyone help? TIA.
>
>Cheers,
>Max
>
>
>
>
>
>_______________________________________________
>users mailing list
>users(a)lists.bitfolk.com
>https://lists.bitfolk.com/mailman/listinfo/users