search for: tapdevice

Displaying 20 results from an estimated 32 matches for "tapdevice".

2000 Jun 16
1
RedHat initialization script and bash2
...0 @@ -117,7 +117,7 @@ vpn_load () { CFG="$TCONF/$1/tinc.conf" - [ -f $CFG ] || { MSG="$CFG does not exist!"; return 1 } + [ -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')" @@ -126,24 +126,24 @@ # TapDevice syntax validation [ -z "$DEV" ] && \ - { MSG="TapDevice required!"; return 1 } + { MSG="TapDevice required!"; return 1; } [ $(echo $DEV | wc -l)...
2002 Aug 15
4
tinc-1.0pre7-i386-1.tgz
...puters in een thuisnetwerkje (totaal 6 computers) geinstalleerd met SuSe 7.3, daar de klanten dit ook hebben. De computers zijn verbonden met een switch. Dit is de inhoud van mijn bestanden: Op computer 1 genaamd suse met ip 192.168.0.99 netmask 255.255.255.0 /etc/tinc/tinc.conf: Name = suse TapDevice = /dev/tun PrivateKeyFile = /etc/tinc/test-vpn/rsa_key.priv ConnectTo = Arnout Hostnames = no KeyExpire = 3600 PingTimeout = 60 /etc/tinc/test-vpn/tinc-up #!/bin/sh ifconfig eth0 down ifconfig eth0 hw ether fe:fd:00:00:00:00 ifconfig eth0 192.168.0.99 netmask 255.255.255.0 ifconfig eth0 -arp /e...
2002 Feb 25
1
problem with tinc pre5
Hello, I have 2 hosts HostA and HostB HostA - 10.38.9.2, kernel 2.4.16, tincd from Debian package HostB - 10.38.9.223, kernel 2.2.17-21mdk, tincd from tarball package. HostA: ------------------------------ /etc/tinc/test4/tinc.conf Name = HostA ConnectTo = HostB TapDevice = /dev/misc/net/tun PrivateKeyFile = /etc/tinc/test4/rsa_key.priv /etc/tinc/test4/hosts/HostA Subnet = 10.0.0.0/8 Port = 8195 Address = 10.38.9.2 -----BEGIN RSA PUBLIC KEY----- ... /etc/tinc/test4/hosts/HostB Subnet = 10.0.0.0/8 Port = 8195 Address = 10.38.9.223 -----BEGIN RSA PUBLIC KEY----- ......
2000 Jun 11
3
TINC 1.0pre2 problem
...; Network A = 192.168.1.0/24 You are using 192.168.x.y addresses 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 differ...
2000 Aug 21
0
Rewritten script /etc/init.d/tinc
...# vpn_load () Loads VPN configuration # # $1 ... VPN to load function vpn_load () { CFG="$TCONF/$1/tinc.conf" 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...
2001 Jun 22
1
book on tinc
...ress (i.e. nmask is /32), would the following configuration work (in the context of the recent routing problems pointed out by users) ? foo's configuration: /etc/tinc/vpn1/tinc.conf -- Name = foo ConnectTo = bar KeyExpire = 3600 PingTimeout = 60 PrivateKeyFile = /etc/tinc/vpn1/rsa_key.priv TapDevice = /dev/tap0 /etc/tinc/vpn1/hosts/bar -- Subnet = 192.168.1.2/32 Address = a.b.c.d Port = 655 -----BEGIN RSA PUBLIC KEY----- […] -----END RSA PUBLIC KEY----- /etc/tinc/vpn1/tinc-up -- #!/bin/sh ifconfig tap0 down ifconfig tap0 hw ether fe:fd:00:00:00:00 ifconfig tap0 192.168.1.1 netmask 255.255....
2001 Nov 21
1
Connection problems
...0 dropped:0 overruns:0 carrier:0 collisions:35 RX bytes:1312249 (1.2 Mb) TX bytes:8034730 (7.6 Mb) Now I want to create a VPN between 192.168.1.0/24 on routerA and 192.168.2.0/24 on routerB. Here is what my config files look like on routerA: --- tinc.conf --- Name = routerA TapDevice = /dev/net/tun KeyExpire = 30000000 PrivateKeyFile = /etc/tinc/vpn/rsa_key.priv --------------------- --- tinc-up --- #!/bin/sh /sbin/ifconfig vpn hw ether fe:fd:0:0:0:0 /sbin/ifconfig vpn 192.168.1.1 netmask 255.255.0.0 -arp ------------------ --- hosts/routerA --- Address = 123.123.123.123 Subnet...
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? w...
2002 Oct 03
1
VPN behind masquerading firewall 1.Opre7
Dear Tinc developer, I have some problems connecting to the other site of the VPN Here are my configuration files on pc1 Configuration files on pc2 /usr/local/etc/tinc/tinc.conf /usr/local/etc/tinc/tinc.conf Name = pc1 Name = pc2 TapDevice = /dev/tap0 TapDevice = /dev/tap0 PrivateKeyFile = /usr/local/etc/tinc/test-vpn/rsa_key.priv PrivateKeyFile = /usr/local/etc/tinc/test-vpn/rsa_key.priv connectTo = pc2 connectTo = pc1 Hostnames = no...
2000 Nov 22
1
Configuration Trouble
...ocal tap interfaces. tcpdump shows that icmp echo requests are received by the other host, but no replies are sent. The two hosts are North and South. It is the same pinging North to South and South to North. The hosts are configured as follows: South: Debian 2.2 /usr/local/etc/tinc/tinc.conf: TapDevice = /dev/tap0 Name = South PrivateKey = blahblahblah /usr/local/etc/tinc/hosts/North: PublicKey = blahblahblah Subnet = 10.1.0.0/24 /usr/local/etc/tinc/hosts/South: PublicKey = blahblahblah Subnet = 10.2.0.0/24 ifconfig tap0: tap0 Link encap:Ethernet HWaddr FE:FD:0A:02:00:01 inet...
2001 Feb 22
1
tincd running, but ping test doesn't work!
...les, which describe the setup: Machine A: /usr/local/etc/tinc/tinc-up : #!/bin/bash /sbin/ifconfig tap0 hw ether fe:fd:00:00:00:00 /sbin/ifconfig tap0 194.128.68.17 netmask 128.0.0.0 /usr/local/etc/tinc/tinc-down : #!/bin/bash /sbin/ifconfig tap0 down /usr/local/etc/tinc/tinc.conf : Name = A TapDevice = /dev/tap0 Interface = eth0 ConnectTo = B PrivateKey = xxxx /usr/local/etc/tinc/hosts/A : Address = 194.128.68.11 Subnet = 194.128.68.0/24 Port = 655 PublicKey = xxxx /usr/local/etc/tinc/hosts/B : Address = 194.128.68.9 Subnet = 195.128.68.0/24 Port = 655 PublicKey = xxxx Machine B: /usr/lo...
2001 Nov 08
1
ethertap dropping packets?
...Site A: ------- --- tinc-up --- #!/bin/sh /sbin/ifconfig tap0 hs ether fe:fd:00:00:00:00 /sbin/ifconfig tap0 10.11.1.2 netmask 255.0.0.0 /sbin/ifconfig tap0 -arp ---- tinc.conf --- Name = orca Hostnames = no InterfaceIP = 63.108.71.7 KeyExpire = 30000000 PrivateKeyFile = /etc/tinc/.rsa-private TapDevice = /dev/tap0 ------- Site B: ------- ---- tinc-up ---- #!/bin/sh /sbin/ifconfig $NETNAME hs ether fe:fd:00:00:00:00 /sbin/ifconfig $NETNAME 10.11.15.1 netmask 255.0.0.0 /sbin/ifconfig $NETNAME -arp ----- tinc.conf ---- ConnectTo = orca Name = pax Hostnames = no InterfaceIP = 24.176.163.186 Ke...
2000 Oct 17
2
setup problems
Hi, Although Im dutch too, Ill write this in english. I got a similar problem then the one on the helpforum. Ill paste my setup first server tincd.conf ---- ListenPort = 8089 MyOwnVPNIP = 192.168.100.1/24 #VpnMask = 255.255.255.0 TapDevice = /dev/tap0 Passphrases=/usr/local/etc/tinc/passphrases server tapdev ---- tap0 Link encap:Ethernet HWaddr FE:FD:C0:A8:6F:01 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:2...
2001 Jun 01
2
Error: cannot route packet - please help
...(works fine): #!/bin/sh ifconfig tap0 down ifconfig tap0 hw ether fe:fd:00:00:00:00 ifconfig tap0 172.16.11.254 broadcast 172.16.11.255 netmask 255.255.255.0 ifconfig tap0 -arp tinc.conf: Name = janus Hostnames = no KeyExpire = 3600 PingTimeout = 60 PrivateKeyFile = /etc/tinc/p21.net/rsa_key.priv TapDevice = /dev/tap0 /sbin/ifconfig tap0 tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00 inet addr:172.16.11.254 Bcast:172.16.11.255 Mask:255.255.255.0 UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:33 errors:0 dropped:0 overruns:0 frame:0...
2000 Jun 12
0
TINC 1.0pre2: unable to access one private network (fwd)
...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 2.3.4.0 * 255.255.255.0 et...
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 Jul 27
1
Network confusion
..., but I can't seem to get there. Just to get things figured out I've got two machines on the same physical network, mach A: 192.168.0.1, mach B: 192.168.0.3. bcast is 192.168.0.255. Machine A /etc/tinc/tinc.conf ListenPort=655 MyOwnVPNIP=10.0.0.1/24 Passphrases=/etc/tinc/passphrases TapDevice=/dev/tap0 VpnMask=255.0.0.0 Machine A ifconfig ifconfig tap0 10.0.0.1 broadcast 10.255.255.255 netmask 255.0.0.0 Machine B /etc/tinc/tinc.conf ConnectTo=192.168.0.1 MyOwnVPNIP=10.0.0.2/24 Passphrases=/etc/tinc/passphrases TapDevice=/dev/tap0 VpnMask=255.0.0.0 Machine B ifconfig ifconfig ta...
2000 Sep 10
2
tinc SECURITY INFORMATION - Unauthorized access to VPN
Although we (the authors of tinc) have done our best to make tinc as secure as possible, an unfortunate combination of encryption and key exchange techniques has created a hole in at least all versions of tinc >= 0.3, including the current CVS version. Exploit: If somebody can intercept the meta protocol to a host that is running a tinc daemon, it is possible to decrypt the passphrase, which
2000 Sep 10
2
tinc SECURITY INFORMATION - Unauthorized access to VPN
Although we (the authors of tinc) have done our best to make tinc as secure as possible, an unfortunate combination of encryption and key exchange techniques has created a hole in at least all versions of tinc >= 0.3, including the current CVS version. Exploit: If somebody can intercept the meta protocol to a host that is running a tinc daemon, it is possible to decrypt the passphrase, which
2000 Aug 03
1
tinc config(?) problems
...ic passing between the two systems. System A looks like - 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 BROADCAS...