search for: myvirtualip

Displaying 11 results from an estimated 11 matches for "myvirtualip".

2000 Jun 16
1
RedHat initialization script and bash2
...{ MSG="multiple TapDevice entries not allowed!"; return 1; } echo $DEV | grep -q -x -E '/dev/tap[[:digit:]]+' || - { MSG="TapDevice should be in form /dev/tapX!"; return 1 } + { MSG="TapDevice should be in form /dev/tapX!"; return 1; } # MyOwnVPNIP/MyVirtualIP syntax validation [ -z "$VPN" ] && \ - { MSG="MyOwnVPNIP/MyVirtualIP required!"; return 1 } + { MSG="MyOwnVPNIP/MyVirtualIP required!"; return 1; } [ $(echo $VPN | wc -l) -gt 1 ] && \ - { MSG="multiple MyOwnVPNIP/MyVirtualIP entries not...
2000 Jun 11
3
TINC 1.0pre2 problem
...dresses for your internal network, but 10.x.y.z addresses for tinc! Why is that? Tinc does not need it's own IP's, you just have to put the ones you are already using in the configuration file. > ==== Router A tinc.conf ==== > TapDevice = /dev/tap0 > ConnectTo = 216.63.158.19 > MyVirtualIP = 10.0.0.1/8 > VpnMask = 255.0.0.0 > AllowConnect = no > ============================ Your MyVirtualIP should be 10.0.0.1/24, not /8. The subnet the tincd on router A represents is a class C subnet. However, the VpnMask is different - it is used to tell the startup script what the scope o...
2000 Aug 03
1
tinc config(?) problems
...e - tinc.conf: # Sample tinc configuration. # Insert your own ip numbers instead of the placeholders, # and be sure to use your own passphrases. # See man tinc.conf(5) tincd(8) genauth(8), info tinc and # /usr/doc/tinc-1.0pre2/tinc.conf.sample TapDevice = /dev/tap0 #ConnectTo = peer.real.ip.number MyVirtualIP = 192.168.2.1/24 #AllowConnect = no VpnMask = 255.255.255.0 ifconfig (eth0 is internal): eth0 Link encap:Ethernet HWaddr 00:A0:24:81:B9:15 inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:109014...
2000 Jun 12
0
TINC 1.0pre2: unable to access one private network
On Sun, 11 Jun 2000, gbarnett wrote: > Guus... I couldn't seem to get this to the mail list... could you post it > and/or answer it for me? Sure. > 2.3.4.5/tinc.conf > MyVirtualIP = 10.69.69.69/32 > TapDevice = /dev/tap0 > VPNMask = 255.255.255.0 Problem found (I think)! MyVirtualIP should be 10.69.69.69/29. Your VPNMask is correct. Idem for server B, where MyVirtualIP should be 10.69.69.73/29. MyVirtualIP not only tells the tincdaemons what IP address it has itsel...
2000 Aug 21
0
Rewritten script /etc/init.d/tinc
...ERROR1=0 ERROR2=0 [ -f $CFG ] || { MSG="$CFG does not exist!"; return 1; } # load TINCD config DEV="$(grep -i -e '^[[:space:]]*TapDevice' $CFG | sed 's/[[:space:]]//g; s/^.*=//g')" VPN="$(grep -i -e '^[[:space:]]*(MyOwnVPNIP|MyVirtualIP)' -E $CFG | sed 's/[[:space:]]//g; s/^.*=//g')" IFM="$(grep -i -e '^[[:space:]]*VPNMask' $CFG | sed 's/[[:space:]]//g; s/^.*=//g')" # TapDevice syntax validation [ -z "$DEV" ] && \ { MSG="TapDevice required!";...
2000 Jul 08
1
Problems starting up tincd with startupscript 1.0pre2-1.i386.rpm
Hello, I'm trying to set up a vpn using tinc, so I installed tinc with the rpm version on my firewall as a listener. Setting up the tap device is no problem. The file /etc/tinc/tinc.conf looks like: TapDevice = /dev/tap0 MyVirtualIP = 192.168.2.1/24 Vpnmask = 255.255.255.0 When I start the script /etc/rc.d/init.d/tinc start it says something about missing /etc/tinc/nets.boot file. In your documentation there's nothing mentioned about this file. What's it for and how is it configured? with kind regards, Johan laa...
2001 Jun 15
1
questions
Hello, I have a bunch of questions about configuring tinc. Here we go: 1. Is the /etc/tinc/vpn/passphrases directory still used? If so, what is it for? Do we need to create it when installing tinc from source? 2. As far as I understand, MyVirtualIP is not required in tinc.conf and is only used to pass the IP to tinc-* scripts. Is that correct? If so, how can we use it? I could not find much about this option in the documentation so if I am missing something, could you clarify? 3. If I only have two hosts that comprise a VPN, would it be o...
2000 Jun 12
0
TINC 1.0pre2: unable to access one private network (fwd)
...--------------- For server A: ifconfig : eth0 1.2.3.4/24 eth1 10.69.69.69/29 broadcast 10.69.69.71 tap0 10.69.69.69/24 broadcast 10.69.69.255 HWaddr fe:fd:0a:45:45:45 route: 10.69.69.64 * 255.255.255.248 eth1 10.69.69.0 * 255.255.255.0 tap0 1.2.3.0 * 255.255.255.0 eth0 2.3.4.5/tinc.conf MyVirtualIP = 10.69.69.69/32 TapDevice = /dev/tap0 VPNMask = 255.255.255.0 For server B: ifconfig : eth0 2.3.4.5/24 eth1 10.69.69.73/29 broadcast 10.69.69.79 tap0 10.69.69.73/24 broadcast 10.69.69.255 HWaddr fe:fd:0a:45:45:49 route: 10.69.69.72 * 255.255.255.248 eth1 10.69.69.0 * 255.255.255.0 tap0...
2000 Mar 25
3
RFH -> Request for Help.
Hello all, I've been playing with tinc to setup a wan between two offices of the company that I work for. I'm partially there but having a slight problem. tinc comes up between the 2 machines (both 2.2.14 debian woody machines), and I can ping from the vpn machine at office a, and get a response from office b. However, if I ping any other machine across the wan I can't get a
2000 May 31
0
1.0pre2
...there. [ I just noticed the included ChangeLog is empty -- oh well. ] * This version has been internationalized; and a Dutch translation has been included. * Two configuration variables have been added: * VpnMask - the IP network mask for the entire VPN, not just our subnet (as given by MyVirtualIP). The Redhat and Debian packages use this variable in their system startup scripts, but it is ignored by tinc. * Hostnames - if set to `yes', look up the names of IP addresses trying to connect to us. Default set to `no', to prevent lockups during lookups. * The system...
2000 May 31
0
1.0pre2
...there. [ I just noticed the included ChangeLog is empty -- oh well. ] * This version has been internationalized; and a Dutch translation has been included. * Two configuration variables have been added: * VpnMask - the IP network mask for the entire VPN, not just our subnet (as given by MyVirtualIP). The Redhat and Debian packages use this variable in their system startup scripts, but it is ignored by tinc. * Hostnames - if set to `yes', look up the names of IP addresses trying to connect to us. Default set to `no', to prevent lockups during lookups. * The system...