Changeset a80a4a7
- Timestamp:
- Mar 12, 2014 10:58:21 AM (11 years ago)
- Branches:
- master
- Children:
- 4cf0198
- Parents:
- d75005b
- Location:
- fedkit
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/Makefile
rd75005b ra80a4a7 4 4 prep_gateway.pl port_forward.pl setup_bridge.pl import_key.pl \ 5 5 gated_routing.pl start_seer.pl ospf_routing.pl quagga_routing.pl \ 6 static_routing.pl 6 static_routing.pl unsetup_bridge.pl 7 7 8 8 LIBRARIES=gateway_lib.pm -
fedkit/setup_bridge.pl
rd75005b ra80a4a7 6 6 7 7 use Getopt::Long; 8 9 use IO::File; 8 10 9 11 my $tapno; … … 34 36 35 37 print "iface is $iface\n"; 38 39 # Make a copy of the interface for unsetup_bridge.pl 40 my $f = new IO::File(">/tmp/interface$tapno"); 41 print $f "$iface\n" if $f; 42 $f->close( )if $f; 36 43 37 44 gateway_lib::bind_tap_to_iface($tapno, $iface); … … 64 71 =item B<tapno=>I<integer> 65 72 66 The tap inter afce to connect. This will be the integer that follows tap and73 The tap interface to connect. This will be the integer that follows tap and 67 74 bridge in the interface names. 68 75 … … 79 86 =head1 SYNOPSIS 80 87 81 B<setup_bridge.pl> Connects the established ssh tunnel (a tap interface) to88 B<setup_bridge.pl> connects the established ssh tunnel (a tap interface) to 82 89 a local interface through a bridge interface. Traffic on the local interface 83 90 will cross the network over the ssh tunnel and be released onto the net via a
Note: See TracChangeset
for help on using the changeset viewer.